Hello,

I have a class full of common information such as email, name, and
etc, that multiple other models inherit.  Everything works fine except
for the customizing of the admin interface.  For example, in a setup
such as:

class CommonStuff(models.Model):
   email = models.EmailField(...)


class Person(CommonStuff):
   otherattribute = ...
   somemore = ...


The admin interface raises an exception:
 .fieldsets[1][1]['fields']' refers to field 'email,' that is missing
from the form.

So admin.py isn't quite properly detecting that the model has
inherited the email attribute.  I imagine I'm just not registering
something correctly.  Any ideas?

Thanks in advance,


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to