aboutsummaryrefslogtreecommitdiffstats
path: root/config/settings/gcloud_settings.py
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-10-17 15:53:08 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-10-17 15:53:08 +0100
commit766b5670d0e420b09594116ce832aec975e036ff (patch)
treebfe414401349c73fca921514817bc0bbba6662d7 /config/settings/gcloud_settings.py
parentc1a64fc08f7e21c5c0933f09c665ff5a25dd8868 (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.py8
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