Make LOGGING setting configurable via environment variable
This commit is contained in:
parent
0944dd7992
commit
04ca92b5fe
@ -109,7 +109,8 @@ class Base(Configuration):
|
|||||||
STATIC_URL = "/static/"
|
STATIC_URL = "/static/"
|
||||||
STATICFILES_DIRS = [BASE_DIR / "static"]
|
STATICFILES_DIRS = [BASE_DIR / "static"]
|
||||||
|
|
||||||
LOGGING = {
|
LOGGING = values.DictValue(
|
||||||
|
{
|
||||||
"version": 1,
|
"version": 1,
|
||||||
"disable_existing_loggers": False,
|
"disable_existing_loggers": False,
|
||||||
"handlers": {
|
"handlers": {
|
||||||
@ -124,6 +125,7 @@ class Base(Configuration):
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
)
|
||||||
|
|
||||||
MEDIA_ROOT = "media"
|
MEDIA_ROOT = "media"
|
||||||
MEDIA_URL = "media/"
|
MEDIA_URL = "media/"
|
||||||
|
Loading…
Reference in New Issue
Block a user