reuse of the env variable in the base settings

This commit is contained in:
wcolmenares 2019-05-13 03:44:09 -04:00
commit 69ec7d2b46
3 changed files with 17 additions and 23 deletions

View file

@ -721,6 +721,14 @@ X_FRAME_OPTIONS = ('SAMEORIGIN' if X_FRAME_OPTIONS_ALLOW_FROM_URI is None else
DEBUG = bool_env('DEBUG')
ACCOUNT_NAME = env('ACCOUNT_NAME')
AUTH_NAME = env('AUTH_NAME')
AUTH_SEED = env('AUTH_SEED')
AUTH_REALM = env('AUTH_REALM')
OTP_SERVER = env('OTP_SERVER')
OTP_VERIFY_ENDPOINT = env('OTP_VERIFY_ENDPOINT')
if DEBUG:
from .local import * # flake8: noqa
else: