From d2561fbc415db4d36dac500300ce693e786888e7 Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Fri, 26 Apr 2024 16:13:00 +1000 Subject: [PATCH] podjango: Configure uploaded media directory --- conservancy/settings/base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/conservancy/settings/base.py b/conservancy/settings/base.py index 6ca284d6..eddf0e61 100644 --- a/conservancy/settings/base.py +++ b/conservancy/settings/base.py @@ -129,6 +129,7 @@ STATICFILES_DIRS = [ BASE_DIR / 'static', ] +MEDIA_ROOT = BASE_DIR / 'media' MEDIA_URL = '/media/' MIDDLEWARE = [