diff options
-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 7e4d5ad..3f272a1 100644 --- a/website/views.py +++ b/website/views.py @@ -361,7 +361,7 @@ def abstract_details(request, proposal_id=None): proposal = Proposal.objects.get(id=proposal_id) if proposal.user == user: try: - url = '/2019'+str(proposal.attachment.url) + url = str(proposal.attachment.url) context['url'] = url except: pass @@ -429,7 +429,7 @@ def comment_abstract(request, proposal_id=None): try: proposal = Proposal.objects.get(id=proposal_id) try: - url = '/2019'+str(proposal.attachment.url) + url = str(proposal.attachment.url) context['url'] = url except: pass |