fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
#3208 + raphael.js
[wolnelektury.git]
/
apps
/
picture
/
views.py
diff --git
a/apps/picture/views.py
b/apps/picture/views.py
index
65e5fa4
..
c39969a
100644
(file)
--- 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)
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))