summaryrefslogtreecommitdiff
path: root/nccps2018
diff options
context:
space:
mode:
authorSashi202018-09-18 15:22:34 +0530
committerSashi202018-09-18 15:38:42 +0530
commite8b91eb48c35252159dc5b03da3adff393e071ad (patch)
treebc5783054e6b3f3ec4f2be9a9d4120b2f8ef1b1c /nccps2018
parent729145dc29514f25be34168049e5bfd1838379f1 (diff)
downloadnccps-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 'nccps2018')
-rw-r--r--nccps2018/settings.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/nccps2018/settings.py b/nccps2018/settings.py
index 7217aa5..db36bd8 100644
--- a/nccps2018/settings.py
+++ b/nccps2018/settings.py
@@ -131,6 +131,8 @@ STATICFILES_DIRS = [
'/../static/',
]
+MEDIA_ROOT = os.path.join(BASE_DIR, 'uploads')
+MEDIA_URL = "/downloads/"
LOGIN_REDIRECT_URL = '/proposal'
LOGOUT_REDIRECT_URL = '/accounts/login'