project/scipycon/talk/views.py
changeset 369 7ea06f159d15
parent 156 fdbefef52e1c
child 371 f2b47f5dac06
--- a/project/scipycon/talk/views.py	Fri Dec 24 16:02:21 2010 +0530
+++ b/project/scipycon/talk/views.py	Mon Dec 27 03:51:41 2010 +0530
@@ -205,3 +205,12 @@
         'params': {'scope': scope},
         'talk_list': talks,
     }))
+
+def download_slides(request, scope):
+    """View that lets users allow to download the slides they want.
+    """
+
+    template_name = 'talk/download-slides.html'
+    return render_to_response(template_name, RequestContext(request, {
+        'params': {'scope': scope},
+    }))