make force_script_name configurable

This commit is contained in:
aatish 2018-11-16 22:29:47 +05:45
parent 216a5c3c9f
commit d8705d4946

View file

@ -132,7 +132,7 @@ AUTHENTICATION_BACKENDS = (
)
USE_X_FORWARDED_HOST = True
FORCE_SCRIPT_NAME = '/ipv6/work/'
FORCE_SCRIPT_NAME = config('FORCE_SCRIPT_NAME', '/ipv6/work/')
LOGIN_URL = 'login'
LOGOUT_URL = 'logout'