mirror of
https://github.com/lemeow125/DRF_Template.git
synced 2025-04-28 10:41:15 +08:00
Fix development url for media files
This commit is contained in:
parent
5f4aac696e
commit
55f16b15fe
3 changed files with 6 additions and 10 deletions
|
@ -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 = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue