mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-16 09:57:22 +00:00
tidied login and control panel pages
This commit is contained in:
@@ -83,8 +83,9 @@ APPEND_SLASH = (
|
||||
)
|
||||
SMART_APPEND_SLASH = True # not eorking as middleware different after Dj2.0
|
||||
|
||||
|
||||
LOGIN_REDIRECT_URL = "/" # does not seem to have any effect
|
||||
ROOT_URLCONF = "troggle.urls"
|
||||
LOGOUT_REDIRECT_URL = "/statistics" # see troggle/core/views/auth.py
|
||||
LOGIN_REDIRECT_URL = "/controlpanel" # see troggle/core/views/auth.py
|
||||
|
||||
SECURE_CONTENT_TYPE_NOSNIFF = True
|
||||
SECURE_BROWSER_XSS_FILTER = True
|
||||
@@ -126,8 +127,6 @@ MIDDLEWARE = [
|
||||
#'troggle.core.middleware.SmartAppendSlashMiddleware' # needs adapting after Dj2.0
|
||||
]
|
||||
|
||||
ROOT_URLCONF = "troggle.urls"
|
||||
|
||||
WSGI_APPLICATION = "troggle.wsgi.application" # change to asgi as soon as we upgrade to Django 3.0
|
||||
|
||||
ACCOUNT_ACTIVATION_DAYS = 3
|
||||
|
||||
Reference in New Issue
Block a user