summaryrefslogtreecommitdiff
path: root/website/views.py
diff options
context:
space:
mode:
authorhardythe12013-12-06 16:51:58 +0530
committerhardythe12013-12-06 16:51:58 +0530
commit258fbbb2dcf38ff6e1b226a51c9669fa3c5c5029 (patch)
treee98d9c1ad90d85e4fe127832c2e7e171a224fceb /website/views.py
parentb8b8602bf869a6868ca6189a79bafbe6b6d2ce4a (diff)
downloadSciPy2013-258fbbb2dcf38ff6e1b226a51c9669fa3c5c5029.tar.gz
SciPy2013-258fbbb2dcf38ff6e1b226a51c9669fa3c5c5029.tar.bz2
SciPy2013-258fbbb2dcf38ff6e1b226a51c9669fa3c5c5029.zip
updating list of accepted abstracts
Diffstat (limited to 'website/views.py')
-rw-r--r--website/views.py6
1 files changed, 5 insertions, 1 deletions
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):