|
|
@ -21,8 +21,8 @@ env = environ.Env( |
|
|
|
# set casting, default value |
|
|
|
# set casting, default value |
|
|
|
DEBUG=(bool, False), |
|
|
|
DEBUG=(bool, False), |
|
|
|
DEVELOPMENT_MODE=(bool, False), |
|
|
|
DEVELOPMENT_MODE=(bool, False), |
|
|
|
ALLOWED_HOSTS=(list, "127.0.0.1"), |
|
|
|
ALLOWED_HOSTS=(list, ["127.0.0.1"]), |
|
|
|
CSRF_TRUSTED_ORIGINS=(list, "http://127.0.0.1"), |
|
|
|
CSRF_TRUSTED_ORIGINS=(list, ["http://127.0.0.1"]), |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
# Build paths inside the project like this: BASE_DIR / 'subdir'. |
|
|
|
# Build paths inside the project like this: BASE_DIR / 'subdir'. |
|
|
|