feat(settings): Make MEDIA_ROOT configurable

This commit is contained in:
Tom Hubrecht 2024-09-24 22:08:09 +02:00
parent 7537b26fbe
commit 76c07e3086
Signed by: thubrecht
SSH key fingerprint: SHA256:r+nK/SIcWlJ0zFZJGHtlAoRwq1Rm+WcKAm5ADYMoQPc

View file

@ -177,7 +177,8 @@ STATICFILES_FINDERS = [
"sass_processor.finders.CssFinder", "sass_processor.finders.CssFinder",
] ]
STATIC_ROOT = credentials["STATIC_ROOT"] STATIC_ROOT = credentials.get("STATIC_ROOT")
MEDIA_ROOT = credentials.get("MEDIA_ROOT")
### ###
# Storages configuration # Storages configuration