From 3e24d6cf23dcb49b853bcc8d77c4b4e4ef684169 Mon Sep 17 00:00:00 2001 From: komalsheth286 Date: Wed, 5 Oct 2016 15:01:38 +0530 Subject: resubmit redirection to proposal table --- website/views.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'website/views.py') 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 -- cgit