Fix django env
This commit is contained in:
parent
a7b98c1895
commit
92813f51a0
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||||
SECRET_KEY = '(b_w%!e9u!3q=d-u!$g6ntpzh-=4mo$gs#96as+^179vp6stui'
|
SECRET_KEY = '(b_w%!e9u!3q=d-u!$g6ntpzh-=4mo$gs#96as+^179vp6stui'
|
||||||
|
|
||||||
# SECURITY WARNING: don't run with debug turned on in production!
|
# SECURITY WARNING: don't run with debug turned on in production!
|
||||||
DJANGO_ENV = os.getenv('DJANGO_ENV', 'prod') == 'dev'
|
DJANGO_ENV = os.getenv('DJANGO_ENV', 'prod')
|
||||||
DEBUG = os.getenv('DJANGO_DEBUG', 'false').lower() == 'true'
|
DEBUG = os.getenv('DJANGO_DEBUG', 'false').lower() == 'true'
|
||||||
|
|
||||||
ALLOWED_HOSTS = [
|
ALLOWED_HOSTS = [
|
||||||
|
|
Loading…
Reference in a new issue