summaryrefslogtreecommitdiff
path: root/website/views.py
diff options
context:
space:
mode:
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):