fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Upgrade to Django 1.5.
[wolnelektury.git]
/
apps
/
picture
/
models.py
diff --git
a/apps/picture/models.py
b/apps/picture/models.py
index
1e27ce6
..
dd6ae8e
100644
(file)
--- a/
apps/picture/models.py
+++ b/
apps/picture/models.py
@@
-148,7
+148,7
@@
class Picture(models.Model):
for tag in catalogue.models.Tag.objects.filter(category='author'):
pics_by_author[tag] = []
- for pic in pics:
+ for pic in pics
.iterator()
:
authors = list(pic.tags.filter(category='author'))
if authors:
for author in authors: