Describe the bug
Because the cfg-web hard-codes the MEDIA_ROOT to /app/src/media in file src\config\settings.py, so any settings of MEDIA_ROOT (in container_env_files\cfg.env of safe-infrastructure) make no sense.
Expected behavior
MEDIA_ROOT needs to be respected especially If DEFAULT_FILE_STORAGE (in container_env_files\cfg.env of safe-infrastructure) is set to django.core.files.storage.FileSystemStorage.
Environment (please complete the following information):
Staging and production
Additional context
Add any other context about the problem here.
Describe the bug
Because the
cfg-webhard-codes theMEDIA_ROOTto/app/src/mediain filesrc\config\settings.py, so any settings ofMEDIA_ROOT(incontainer_env_files\cfg.envofsafe-infrastructure) make no sense.Expected behavior
MEDIA_ROOTneeds to be respected especially IfDEFAULT_FILE_STORAGE(incontainer_env_files\cfg.envofsafe-infrastructure) is set todjango.core.files.storage.FileSystemStorage.Environment (please complete the following information):
Staging and production
Additional context
Add any other context about the problem here.