diff options
author | komalsheth286 | 2016-10-05 15:01:38 +0530 |
---|---|---|
committer | komalsheth286 | 2016-10-05 15:01:38 +0530 |
commit | 3e24d6cf23dcb49b853bcc8d77c4b4e4ef684169 (patch) | |
tree | ffdb3f0a357a92fc50321f9e44b78ef12ecf3aea /website/views.py | |
parent | d1312be1555c8cb0d372acd7bac28cb6ad051a3d (diff) | |
download | SciPy2016-3e24d6cf23dcb49b853bcc8d77c4b4e4ef684169.tar.gz SciPy2016-3e24d6cf23dcb49b853bcc8d77c4b4e4ef684169.tar.bz2 SciPy2016-3e24d6cf23dcb49b853bcc8d77c4b4e4ef684169.zip |
resubmit redirection to proposal table
Diffstat (limited to 'website/views.py')
-rwxr-xr-x | website/views.py | 4 |
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 |