Move media to top-level directory

This commit is contained in:
Ben Sturmfels 2024-04-26 16:26:51 +10:00
parent d2561fbc41
commit 968c0c4fba
Signed by: bsturmfels
GPG key ID: 023C05E2C9C068F0

View file

@ -129,7 +129,7 @@ STATICFILES_DIRS = [
BASE_DIR / 'static', BASE_DIR / 'static',
] ]
MEDIA_ROOT = BASE_DIR / 'media' MEDIA_ROOT = BASE_DIR.parent / 'media'
MEDIA_URL = '/media/' MEDIA_URL = '/media/'
MIDDLEWARE = [ MIDDLEWARE = [