From a818b2979940b1c508785109d874a1a1cee08c6c Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Mon, 5 Sep 2011 18:33:47 +0200 Subject: [PATCH] druation is a required sort field --- pandora/item/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pandora/item/models.py b/pandora/item/models.py index 17ec255ca..76ff7d2f6 100644 --- a/pandora/item/models.py +++ b/pandora/item/models.py @@ -1103,6 +1103,7 @@ table constructed based on info in site_config['itemKeys'] attrs = { '__module__': 'item.models', 'item': models.OneToOneField('Item', related_name='sort', primary_key=True), + 'duration': models.FloatField(null=True, blank=True, db_index=True), } for key in filter(lambda k: 'columnWidth' in k, config['itemKeys']): name = key['id']