Skip to content

Commit

Permalink
fix media root to be on local scope
Browse files Browse the repository at this point in the history
  • Loading branch information
israelias committed Jan 3, 2025
1 parent 74f810a commit 35397fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/core/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,9 @@
STATIC_URL = "/staticfiles/"
STATIC_ROOT = os.path.join(BASE_DIR, "staticfiles")
MEDIA_URL = "/media/"
MEDIA_ROOT = str(BASE_DIR / "media/")

STATICFILES_DIRS = (os.path.join(BASE_DIR, "static"),)
MEDIA_ROOT = os.path.join(BASE_DIR, "media")

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

0 comments on commit 35397fa

Please sign in to comment.