Add a desktop-specific landing page, in case we change the behaviour of / in the future

(imported from commit aac1e5495cdae0c797b22d0aeee1eb05f22f9b37)
This commit is contained in:
Leo Franchi
2013-11-07 13:48:21 -05:00
parent 7126610298
commit 4070a95735

View File

@@ -15,6 +15,10 @@ import zerver.forms
urlpatterns = patterns('',
url(r'^$', 'zerver.views.home'),
# We have a desktop-specific landing page in case we change our / to not log in in the future. We don't
# want to require a new desktop app build for everyone in that case
url(r'^desktop_home/$', 'zerver.views.home'),
url(r'^accounts/login/openid/$', 'django_openid_auth.views.login_begin', name='openid-login'),
url(r'^accounts/login/openid/done/$', 'zerver.views.process_openid_login', name='openid-complete'),
url(r'^accounts/login/openid/done/$', 'django_openid_auth.views.login_complete', name='openid-complete'),