summaryrefslogtreecommitdiff
path: root/website/views.py
diff options
context:
space:
mode:
authorkomalsheth2862016-10-05 15:01:38 +0530
committerkomalsheth2862016-10-05 15:01:38 +0530
commit3e24d6cf23dcb49b853bcc8d77c4b4e4ef684169 (patch)
treeffdb3f0a357a92fc50321f9e44b78ef12ecf3aea /website/views.py
parentd1312be1555c8cb0d372acd7bac28cb6ad051a3d (diff)
downloadSciPy2016-3e24d6cf23dcb49b853bcc8d77c4b4e4ef684169.tar.gz
SciPy2016-3e24d6cf23dcb49b853bcc8d77c4b4e4ef684169.tar.bz2
SciPy2016-3e24d6cf23dcb49b853bcc8d77c4b4e4ef684169.zip
resubmit redirection to proposal table
Diffstat (limited to 'website/views.py')
-rwxr-xr-xwebsite/views.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/website/views.py b/website/views.py
index 96fa6bb..48242c7 100755
--- a/website/views.py
+++ b/website/views.py
@@ -280,7 +280,9 @@ def edit_proposal(request, proposal_id = None):
proposal.status = 'Resubmitted'
data.save()
context.update(csrf(request))
- return render(request, 'cfp.html')
+ proposals = Proposal.objects.filter(user = user).order_by('status')
+ context['proposals'] = proposals
+ return render(request, 'view-abstracts.html', context)
else:
context['user'] = user
context['form'] = form