fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
image listings / boxes work but need polishing. started coding the viewer.
[wolnelektury.git]
/
apps
/
picture
/
models.py
diff --git
a/apps/picture/models.py
b/apps/picture/models.py
index
c34b39a
..
dc92c43
100644
(file)
--- a/
apps/picture/models.py
+++ b/
apps/picture/models.py
@@
-184,7
+184,7
@@
class Picture(models.Model):
if short_html is not None:
return mark_safe(short_html)
else:
if short_html is not None:
return mark_safe(short_html)
else:
- tags = self.tags.filter(category__in=('author', 'kind', 'epoch'))
+ tags = self.tags.filter(category__in=('author', 'kind', 'epoch'
, 'genre'
))
tags = split_tags(tags)
short_html = unicode(render_to_string('picture/picture_short.html',
tags = split_tags(tags)
short_html = unicode(render_to_string('picture/picture_short.html',