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 /nccps2018 | |
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 'nccps2018')
-rw-r--r-- | nccps2018/settings.py | 2 |
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' |