Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
populate_db: Set wildcard_mention_policy to show warning in test_suite.
sahil8392e58e27926a8
diff --git a/zilencer/management/commands/populate_db.py b/zilencer/management/commands/populate_db.pyindex 5292f8556c0..56ede699af8 100644--- a/zilencer/management/commands/populate_db.py+++ b/zilencer/management/commands/populate_db.py@@ -270,6 +270,12 @@ class Command(BaseCommand):string_id="lear", name="Lear & Co.", emails_restricted_to_domains=False,invite_required=False, org_type=Realm.CORPORATE)+ # Default to allowing all members to send mentions in+ # large streams for the test suite to keep+ # mention-related tests simple.+ zulip_realm.wildcard_mention_policy = Realm.WILDCARD_MENTION_POLICY_MEMBERS+ zulip_realm.save(update_fields=['wildcard_mention_policy'])+# Create test Users (UserProfiles are automatically created,# as are subscriptions to the ability to receive personals).names = [