Размер скетчей

Поменял размер скетчей (требование заказчика)
This commit is contained in:
2015-06-27 12:18:12 +05:00
parent 8e05a228bb
commit 9771529f85

View File

@@ -49,7 +49,7 @@ class ThumbnailColumn(tables.TemplateColumn):
template = '''
{{% load thumbnail %}}
{{% thumbnail record.{field} "100x100" as im %}}
{{% thumbnail record.{field} "200x200" as im %}}
<img src="{{{{ im.url }}}}">
{{% endthumbnail %}}
'''.format(field = field_name)