Fix development url for media files

This commit is contained in:
Keannu Christian Bernasol 2024-01-06 12:27:41 +08:00
parent 5f4aac696e
commit 55f16b15fe
3 changed files with 6 additions and 10 deletions

View file

@ -93,7 +93,6 @@ STATIC_ROOT = os.path.join(BASE_DIR, 'static')
STATICFILES_STORAGE = "whitenoise.storage.CompressedManifestStaticFilesStorage"
MEDIA_URL = 'api/v1/media/'
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
ROOT_URLCONF = 'config.urls'
TEMPLATES = [