diff options
author | Sashi20 | 2018-09-18 15:22:34 +0530 |
---|---|---|
committer | Sashi20 | 2018-09-18 15:38:42 +0530 |
commit | e8b91eb48c35252159dc5b03da3adff393e071ad (patch) | |
tree | bc5783054e6b3f3ec4f2be9a9d4120b2f8ef1b1c /website/urls.py | |
parent | 729145dc29514f25be34168049e5bfd1838379f1 (diff) | |
download | nccps-2018-e8b91eb48c35252159dc5b03da3adff393e071ad.tar.gz nccps-2018-e8b91eb48c35252159dc5b03da3adff393e071ad.tar.bz2 nccps-2018-e8b91eb48c35252159dc5b03da3adff393e071ad.zip |
Fixed issue of downloading attachments and minor changes in templates
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 |