diff --git a/patrickcanal_it/settings.py b/patrickcanal_it/settings.py index c468fc4..dda082f 100644 --- a/patrickcanal_it/settings.py +++ b/patrickcanal_it/settings.py @@ -129,9 +129,11 @@ except Exception as e: STATIC_URL = 'static/' STATICFILES_DIRS = [ BASE_DIR / "static/", - BASE_DIR / "uploads/", ] +MEDIA_URL = "/uploads/" +MEDIA_ROOT = BASE_DIR / "uploads/" + # Email # https://docs.djangoproject.com/en/6.1/topics/email/#topic-email-configuration EMAIL_BACKEND = 'post_office.EmailBackend' diff --git a/portfolio/templates/index.html b/portfolio/templates/index.html index daa910c..16a214e 100644 --- a/portfolio/templates/index.html +++ b/portfolio/templates/index.html @@ -90,7 +90,7 @@ {% for je in job_experiences %}