Browse Source

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

Поменял размер скетчей (требование заказчика)
Denis V. Dedkov 10 năm trước cách đây
mục cha
commit
9771529f85
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      asuzr/tables.py

+ 1 - 1
asuzr/tables.py

@@ -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)