Размер скетчей
Поменял размер скетчей (требование заказчика)
This commit is contained in:
@@ -49,7 +49,7 @@ class ThumbnailColumn(tables.TemplateColumn):
|
|||||||
template = '''
|
template = '''
|
||||||
{{% load thumbnail %}}
|
{{% load thumbnail %}}
|
||||||
|
|
||||||
{{% thumbnail record.{field} "100x100" as im %}}
|
{{% thumbnail record.{field} "200x200" as im %}}
|
||||||
<img src="{{{{ im.url }}}}">
|
<img src="{{{{ im.url }}}}">
|
||||||
{{% endthumbnail %}}
|
{{% endthumbnail %}}
|
||||||
'''.format(field = field_name)
|
'''.format(field = field_name)
|
||||||
|
|||||||
Reference in New Issue
Block a user