diff --git a/todo_project/settings.py b/todo_project/settings.py index a0aef69..ecf2fcb 100644 --- a/todo_project/settings.py +++ b/todo_project/settings.py @@ -159,8 +159,8 @@ if not DEBUG: # Tell Django to copy statics to the `staticfiles` directory STATIC_ROOT = os.path.join(BASE_DIR, "staticfiles_build", "static") - MEDIA_ROOT = os.path.join(BASE_DIR, "staticfiles/images") - STATICFILES_STORAGE = "whitenoise.storage.CompressedManifestStaticFilesStorage" + MEDIA_ROOT = os.path.join(BASE_DIR, "staticfiles_build", "images") + # STATICFILES_STORAGE = "whitenoise.storage.CompressedManifestStaticFilesStorage" # Default primary key field type # https://docs.djangoproject.com/en/4.0/ref/settings/#default-auto-field