diff options
author | hardythe1 | 2013-12-06 16:51:58 +0530 |
---|---|---|
committer | hardythe1 | 2013-12-06 16:51:58 +0530 |
commit | 258fbbb2dcf38ff6e1b226a51c9669fa3c5c5029 (patch) | |
tree | e98d9c1ad90d85e4fe127832c2e7e171a224fceb /website/views.py | |
parent | b8b8602bf869a6868ca6189a79bafbe6b6d2ce4a (diff) | |
download | SciPy2013-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.py | 6 |
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): |