mirror of https://github.com/zulip/zulip.git
Move default_stream list to settings.
This commit is contained in:
parent
ce5e7d3ba6
commit
8213ca135a
|
@ -66,7 +66,7 @@ class Command(BaseCommand):
|
|||
(admin_realm, _) = do_create_realm(settings.ADMIN_DOMAIN,
|
||||
settings.ADMIN_DOMAIN, True)
|
||||
|
||||
set_default_streams(admin_realm, ["social", "general", "zulip"])
|
||||
set_default_streams(admin_realm, settings.DEFAULT_NEW_REALM_STREAMS)
|
||||
|
||||
self.stdout.write("Successfully populated database with initial data.\n")
|
||||
|
||||
|
|
|
@ -147,6 +147,7 @@ DEFAULT_SETTINGS = {'TWITTER_CONSUMER_KEY': '',
|
|||
'GOOGLE_CLIENT_ID': '',
|
||||
'DBX_APNS_CERT_FILE': None,
|
||||
'EXTRA_INSTALLED_APPS': [],
|
||||
'DEFAULT_NEW_REALM_STREAMS': ["social", "general", "zulip"],
|
||||
}
|
||||
|
||||
for setting_name, setting_val in six.iteritems(DEFAULT_SETTINGS):
|
||||
|
|
Loading…
Reference in New Issue