klipstein/dojango — Issue #31: 31 - datagrid labels are using short_description instead if verbose_name 
Author: klipstein
Created: 2011-11-06 12:55:59+00:00
State: open

As model fields don't have short_description attribute, the AttributeError
will always fire.

The label should be from the field's verbose_name, which also takes into
account the field verbose name translation. In turn, the fields are list of
the attribute Model._meta.fields.

See the attached patch for using verbose_name as default column label.

Original link: http://code.google.com/p/dojango/issues/detail?id=31