diff options
author | Sashi20 | 2018-09-18 15:45:31 +0530 |
---|---|---|
committer | GitHub | 2018-09-18 15:45:31 +0530 |
commit | 0096ca995b5885b64ef91afc7ddfbd9e703e16b8 (patch) | |
tree | bc5783054e6b3f3ec4f2be9a9d4120b2f8ef1b1c /website/views.py | |
parent | 729145dc29514f25be34168049e5bfd1838379f1 (diff) | |
parent | e8b91eb48c35252159dc5b03da3adff393e071ad (diff) | |
download | nccps-2018-0096ca995b5885b64ef91afc7ddfbd9e703e16b8.tar.gz nccps-2018-0096ca995b5885b64ef91afc7ddfbd9e703e16b8.tar.bz2 nccps-2018-0096ca995b5885b64ef91afc7ddfbd9e703e16b8.zip |
Merge pull request #7 from Sashi20/development
Fixed issue of downloading attachments and minor changes in templates
Diffstat (limited to 'website/views.py')
-rw-r--r-- | website/views.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/website/views.py b/website/views.py index 4f851c3..95c0808 100644 --- a/website/views.py +++ b/website/views.py @@ -383,7 +383,7 @@ def abstract_details(request, proposal_id=None): proposal = Proposal.objects.get(id=proposal_id) if proposal.user == user: try: - url = '/2018'+str(proposal.attachment.url) + url = '/nccps-2018'+str(proposal.attachment.url) context['url'] = url except: pass @@ -451,7 +451,7 @@ def comment_abstract(request, proposal_id=None): try: proposal = Proposal.objects.get(id=proposal_id) try: - url = '/2018'+str(proposal.attachment.url) + url = '/nccps-2018'+str(proposal.attachment.url) context['url'] = url except: pass |