diff options
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 |