From 4de81b8cc29983ef57ed29e7fc4b1bcfce46b78d Mon Sep 17 00:00:00 2001 From: Gilson Filho Date: Wed, 30 Nov 2011 14:26:37 +0000 Subject: [PATCH] Alterando o tamanho do arquivo para ser exibido --- sigi/apps/utils/admin_widgets.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sigi/apps/utils/admin_widgets.py b/sigi/apps/utils/admin_widgets.py index eedf837..3590a2b 100644 --- a/sigi/apps/utils/admin_widgets.py +++ b/sigi/apps/utils/admin_widgets.py @@ -9,7 +9,8 @@ class AdminImageWidget(AdminFileWidget): image_url = value.url file_name=str(value) output.append( - u' %s
%s' % \ + u''' %s
%s''' % \ (image_url, image_url, file_name, _('Change:'))) output.append(super(AdminFileWidget, self).render(name, value, attrs)) return mark_safe(u''.join(output))