diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-10-17 15:53:08 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-10-17 15:53:08 +0100 |
commit | 766b5670d0e420b09594116ce832aec975e036ff (patch) | |
tree | bfe414401349c73fca921514817bc0bbba6662d7 /config/settings/gcloud_settings.py | |
parent | c1a64fc08f7e21c5c0933f09c665ff5a25dd8868 (diff) |
fixed middleware issue, brought back missing jquery links and added body padding to project.css
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 |