0001-WIP-add-additional-read-only-information-in-main-tab.patch
fargo/fargo/tables.py | ||
---|---|---|
12 | 12 |
orderable=False, |
13 | 13 |
verbose_name=_('size').title()) |
14 | 14 |
created = tables.DateTimeColumn(verbose_name=_('creation date').title()) |
15 |
title = tables.Column(verbose_name=_('title').title()) |
|
16 |
description = tables.Column(verbose_name=_('description').title()) |
|
17 |
expiration_date = tables.DateTimeColumn(verbose_name=_('expiration date').title()) |
|
15 | 18 | |
16 | 19 |
class Meta: |
17 | 20 |
model = models.Document |
18 |
fields = ('filename', 'size', 'created') |
|
21 |
fields = ('filename', 'size', 'created', 'title', 'description', |
|
22 |
'expiration_date') |
|
19 | 23 |
empty_text = _('You currently have no documents') |
20 |
- |