From e8b91eb48c35252159dc5b03da3adff393e071ad Mon Sep 17 00:00:00 2001 From: Sashi20 Date: Tue, 18 Sep 2018 15:22:34 +0530 Subject: Fixed issue of downloading attachments and minor changes in templates --- website/urls.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'website/urls.py') 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\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 -- cgit