mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 10:26:28 +00:00
zproject: Change comments to refer to Realm.string_id instead of domain.
This commit is contained in:
@@ -258,7 +258,7 @@ LANGUAGE_CODE = 'en-us'
|
|||||||
# This is used so that application data can hook into specific site(s) and a
|
# This is used so that application data can hook into specific site(s) and a
|
||||||
# single database can manage content for multiple sites.
|
# single database can manage content for multiple sites.
|
||||||
#
|
#
|
||||||
# We set this site's domain to 'zulip.com' in populate_db.
|
# We set this site's string_id to 'zulip' in populate_db.
|
||||||
SITE_ID = 1
|
SITE_ID = 1
|
||||||
|
|
||||||
# If you set this to False, Django will make some optimizations so as not
|
# If you set this to False, Django will make some optimizations so as not
|
||||||
|
|||||||
@@ -125,7 +125,7 @@ i18n_urls = [
|
|||||||
url(r'^register/$', zerver.views.registration.accounts_home, name='register'),
|
url(r'^register/$', zerver.views.registration.accounts_home, name='register'),
|
||||||
url(r'^login/$', zerver.views.auth.login_page, {'template_name': 'zerver/login.html'}, name='zerver.views.auth.login_page'),
|
url(r'^login/$', zerver.views.auth.login_page, {'template_name': 'zerver/login.html'}, name='zerver.views.auth.login_page'),
|
||||||
|
|
||||||
# A registration page that passes through the domain, for totally open realms.
|
# A registration page that passes through the Realm.string_id, for totally open realms.
|
||||||
url(r'^register/(?P<realm_str>\S+)/$', zerver.views.registration.accounts_home_with_realm_str,
|
url(r'^register/(?P<realm_str>\S+)/$', zerver.views.registration.accounts_home_with_realm_str,
|
||||||
name='zerver.views.registration.accounts_home_with_realm_str'),
|
name='zerver.views.registration.accounts_home_with_realm_str'),
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user