From 258fbbb2dcf38ff6e1b226a51c9669fa3c5c5029 Mon Sep 17 00:00:00 2001 From: hardythe1 Date: Fri, 6 Dec 2013 16:51:58 +0530 Subject: updating list of accepted abstracts --- website/views.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'website/views.py') diff --git a/website/views.py b/website/views.py index 9f87843..ecafaaa 100644 --- a/website/views.py +++ b/website/views.py @@ -87,7 +87,11 @@ def abstract_details(request, paper_id=None): def accepted_abstracts_page(request): - return render_to_response('accepted_abstracts.html') + context = {} + accepted_papers = Paper.objects.filter(verified=True) + context['papers'] = accepted_papers + context.update(csrf(request)) + return render_to_response('accepted_abstracts.html', context) # Register def register_page(request): -- cgit