diff options
Diffstat (limited to 'config/settings/gcloud_settings.py')
-rw-r--r-- | config/settings/gcloud_settings.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/config/settings/gcloud_settings.py b/config/settings/gcloud_settings.py index a057db8..f7ccbc8 100644 --- a/config/settings/gcloud_settings.py +++ b/config/settings/gcloud_settings.py @@ -172,13 +172,17 @@ MIDDLEWARE = [ 'config.middleware.LoginRequiredMiddleware' ] +LOGIN_REDIRECT_URL = "users:redirect" + ROOT_URLCONF = 'config.urls' WSGI_APPLICATION = 'config.wsgi.application' +LOGIN_URL = "/accounts/login" + LOGIN_EXEMPT_URLS = ( - r"account/login", - r"account/logout" + r"^account/login/$", + r"^account/logout/$" ) # Database |