diff options
Diffstat (limited to 'website/urls.py')
-rw-r--r-- | website/urls.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/website/urls.py b/website/urls.py index 4d95ab7..2d4e8d8 100644 --- a/website/urls.py +++ b/website/urls.py @@ -1,5 +1,6 @@ from django.urls import path, include, re_path - +from django.conf.urls.static import static +from django.conf import settings from . import views app_name = 'website' @@ -40,4 +41,4 @@ urlpatterns = [ views.rate_proposal, name='rate_proposal'), re_path(r'^process-contact-form/(?P<next_url>\d+)', views.contact_us, name='contact_us'), -]
\ No newline at end of file +] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
\ No newline at end of file |