diff options
Diffstat (limited to 'qtip/web/web/settings.py')
-rw-r--r-- | qtip/web/web/settings.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/qtip/web/web/settings.py b/qtip/web/web/settings.py index 30bb6e38..8963ea89 100644 --- a/qtip/web/web/settings.py +++ b/qtip/web/web/settings.py @@ -55,7 +55,7 @@ ROOT_URLCONF = 'web.urls' TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', - 'DIRS': [], + 'DIRS': ['templates'], 'APP_DIRS': True, 'OPTIONS': { 'context_processors': [ @@ -119,3 +119,8 @@ USE_TZ = True # https://docs.djangoproject.com/en/1.11/howto/static-files/ STATIC_URL = '/static/' + +# Auth Settings +LOGIN_URL = '/bench/login/' +LOGIN_REDIRECT_URL = '/bench/dashboard/' +LOGOUT_REDIRECT_URL = LOGIN_URL |