Update default page after login

- This fixes the redirect to the index page instead of apps:index post
  login
This commit is contained in:
lispyclouds 2017-02-08 15:44:37 +05:30 committed by Sunil Mohan Adapa
parent 3b23f78bdc
commit 3e0f7a007e
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2

View File

@ -224,7 +224,7 @@ def configure_django():
INSTALLED_APPS=applications,
LOGGING=logging_configuration,
LOGIN_URL='users:login',
LOGIN_REDIRECT_URL='apps:index',
LOGIN_REDIRECT_URL='index',
MESSAGE_TAGS={message_constants.ERROR: 'danger'},
MIDDLEWARE_CLASSES=(
'django.contrib.sessions.middleware.SessionMiddleware',