From 4ecbf5c13f62e963d4d8fb68c85947c14b96df89 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Thu, 10 Feb 2011 00:16:07 -0400 Subject: [PATCH] Removed colums definitions as they are now define in __init__.py --- apps/documents/views.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/apps/documents/views.py b/apps/documents/views.py index 7e20ca9311..cea504632a 100755 --- a/apps/documents/views.py +++ b/apps/documents/views.py @@ -41,13 +41,6 @@ def document_list(request): template_name='generic_list.html', extra_context={ 'title':_(u'documents'), - 'extra_columns':[ - {'name':_(u'mimetype'), 'attribute':'file_mimetype'}, - {'name':_(u'added'), 'attribute':lambda x: x.date_added.date()}, - {'name':_(u'file size'), 'attribute':lambda x: pretty_size(x.file.storage.size(x.file.path)) if x.exists() else '-'}, - {'name':_(u'thumbnail'), 'attribute': - lambda x: '' % reverse('document_thumbnail', args=[x.id])}, - ], }, )