druation is a required sort field

This commit is contained in:
j 2011-09-05 18:33:47 +02:00
parent cf9b8c34e8
commit a818b29799

View file

@ -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']