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 --- nccps2018/settings.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nccps2018') 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' -- cgit