X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/1f9103b1e752a6c41d2304bf5e41a7d6ae0c45c8..c6939b2a92556332eaab2cbbfd61a0e6798091c7:/apps/picture/views.py diff --git a/apps/picture/views.py b/apps/picture/views.py index 65e5fa4b5..c39969aca 100644 --- a/apps/picture/views.py +++ b/apps/picture/views.py @@ -38,7 +38,10 @@ def picture_detail(request, slug): 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))