#3208 + raphael.js
[wolnelektury.git] / apps / picture / views.py
index 65e5fa4..c39969a 100644 (file)
@@ -38,7 +38,10 @@ def picture_detail(request, slug):
     for tag in picture.tags.iterator():
         categories.setdefault(tag.category, []).append(tag)
 
     for tag in picture.tags.iterator():
         categories.setdefault(tag.category, []).append(tag)
 
-    picture_themes = []
+    themes = categories.get('theme', [])
+    things = categories.get('thing', [])
+
+    extra_info = picture.extra_info
 
     return render_to_response("picture/picture_detail.html", locals(),
                               context_instance=RequestContext(request))
 
     return render_to_response("picture/picture_detail.html", locals(),
                               context_instance=RequestContext(request))