diff --git a/config/settings.py b/config/settings.py index cdd8b02db1..2af34e03b8 100644 --- a/config/settings.py +++ b/config/settings.py @@ -137,8 +137,8 @@ STATIC_ROOT = BASE_DIR / 'staticfiles' # Media root/url -MEDIA_URL = "/media/gymnast/" -MEDIA_ROOT = os.path.join(BASE_DIR, "/media/gymnast") +MEDIA_URL = "/media/" +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 diff --git a/templates/peoples/gymnasts/create.html b/templates/peoples/gymnasts/create.html index dda77e973d..c449bc493a 100644 --- a/templates/peoples/gymnasts/create.html +++ b/templates/peoples/gymnasts/create.html @@ -8,7 +8,7 @@