mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
This commit allows users to be assigned to custom groups when inviting them to join Zulip, similar to how channels are handled. The implementation follows a similar pattern for adding pills, ensuring consistency, as user groups and channels are parallel in nature. Fixes #24365.
23 lines
628 B
Python
23 lines
628 B
Python
# Generated by Django 5.0.8 on 2024-09-19 20:02
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
dependencies = [
|
|
("zerver", "0629_remove_stream_email_token_backfill_channelemailaddress"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name="multiuseinvite",
|
|
name="groups",
|
|
field=models.ManyToManyField(to="zerver.namedusergroup"),
|
|
),
|
|
migrations.AddField(
|
|
model_name="preregistrationuser",
|
|
name="groups",
|
|
field=models.ManyToManyField(to="zerver.namedusergroup"),
|
|
),
|
|
]
|