Add interface for creating new realms.

This is controlled by settings.OPEN_REALM_CREATION; if that setting is
off, this feature doesn't do anything.
This commit is contained in:
Vishnu Ks
2016-06-03 04:32:58 +05:30
committed by Tim Abbott
parent 8213ca135a
commit ad1c3894d9
14 changed files with 245 additions and 15 deletions

View File

@@ -68,6 +68,9 @@ i18n_urls = [
# Portico-styled page used to provide email confirmation of terms acceptance.
url(r'^accounts/accept_terms/$', 'zerver.views.accounts_accept_terms'),
# Realm Creation
url(r'^create_realm/$', 'zerver.views.create_realm'),
# Login/registration
url(r'^register/$', 'zerver.views.accounts_home', name='register'),
url(r'^login/$', 'zerver.views.login_page', {'template_name': 'zerver/login.html'}),