from django.core.files.storage import FileSystemStorage
from django.utils.datastructures import SortedDict
from django.template.loader import render_to_string
from django.core.files.storage import FileSystemStorage
from django.utils.datastructures import SortedDict
from django.template.loader import render_to_string
- 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',
{'picture': self, 'tags': tags}))
if self.id:
tags = split_tags(tags)
short_html = unicode(render_to_string('picture/picture_short.html',
{'picture': self, 'tags': tags}))
if self.id: