Use a named URL for the LOGIN_URL value

This commit is contained in:
Daniel Quinn 2018-04-13 20:17:31 +01:00
parent 9d4bebd569
commit 6c8ef8f044

View File

@ -41,7 +41,7 @@ SECRET_KEY = os.getenv(
# SECURITY WARNING: don't run with debug turned on in production! # SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True DEBUG = True
LOGIN_URL = '/admin/login' LOGIN_URL = "admin:login"
ALLOWED_HOSTS = ["*"] ALLOWED_HOSTS = ["*"]