From 4627ff1b4b4e89828a3bd511fec62ba3dc3a1427 Mon Sep 17 00:00:00 2001 From: Rishi Gupta Date: Tue, 14 Mar 2017 16:13:00 -0700 Subject: [PATCH] zproject: Change comments to refer to Realm.string_id instead of domain. --- zproject/settings.py | 2 +- zproject/urls.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/zproject/settings.py b/zproject/settings.py index 85e052ea2c..14b068720c 100644 --- a/zproject/settings.py +++ b/zproject/settings.py @@ -258,7 +258,7 @@ LANGUAGE_CODE = 'en-us' # This is used so that application data can hook into specific site(s) and a # 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 # If you set this to False, Django will make some optimizations so as not diff --git a/zproject/urls.py b/zproject/urls.py index 23cb8dc6c8..74dca22574 100644 --- a/zproject/urls.py +++ b/zproject/urls.py @@ -125,7 +125,7 @@ i18n_urls = [ 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'), - # 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\S+)/$', zerver.views.registration.accounts_home_with_realm_str, name='zerver.views.registration.accounts_home_with_realm_str'),