Skip to content

Commit

Permalink
Merge pull request #44 from volunteers-for-city-projects/fix_media
Browse files Browse the repository at this point in the history
Update settings MEDIA_ROOT
  • Loading branch information
1yunker authored Oct 19, 2023
2 parents f15ba07 + 6ce1647 commit 2b426b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/backend/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
STATIC_ROOT = Path(BASE_DIR, 'collected_static')

MEDIA_URL = 'media/'
MEDIA_ROOT = BASE_DIR / 'media'
MEDIA_ROOT = '/media'

# Default primary key field type
# https://docs.djangoproject.com/en/4.2/ref/settings/#default-auto-field
Expand Down

0 comments on commit 2b426b9

Please sign in to comment.