Hi has anyone seen the following error when using the new admin branch?
'AutoField' object has no attribute 'get_db_column'
I have the following model defined and can't create a new object for
any of the classes even the super simple PropertyType
Thanks
Charlotte
class Item(meta.Model):
description = meta.CharField(maxlength=250, core=True)
type = meta.CharField(maxlength=100, core=True)
serial_number = meta.CharField(maxlength=30, blank=True, null=True)
class META:
admin = meta.Admin()
class PropertyType(meta.Model):
name = meta.CharField(maxlength=100)
class META:
admin = meta.Admin()
class ItemProperty(meta.Model):
item = meta.ForeignKey(Item, edit_inline=meta.TABULAR,
num_in_admin=6)
propertytype = meta.ForeignKey(PropertyType, core=True)
value = meta.CharField(maxlength=100, core=True)
class META:
admin = meta.Admin()