fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Better funding tables styling.
[wolnelektury.git]
/
apps
/
picture
/
views.py
diff --git
a/apps/picture/views.py
b/apps/picture/views.py
index
24457e2
..
3f04e3c
100644
(file)
--- a/
apps/picture/views.py
+++ b/
apps/picture/views.py
@@
-23,7
+23,7
@@
def picture_detail(request, picture):
picture = get_object_or_404(Picture, slug=picture)
categories = SortedDict()
picture = get_object_or_404(Picture, slug=picture)
categories = SortedDict()
- for tag in picture.tags:
+ for tag in picture.tags
.iterator()
:
categories.setdefault(tag.category, []).append(tag)
picture_themes = []
categories.setdefault(tag.category, []).append(tag)
picture_themes = []