Wednesday, July 27, 2011

Extending Reusable App Models

Hi All,
I'm working with a reusable Django application which defines a model that I'd like to extend.  I've read through the documentation on model inheritance but haven't found what I'm looking for.  I'd like to be able to subclass the model so as to add a few fields to it, but I only want to create one table for the model.  Is there any way around this?
DG

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment