How would I go about implementing a model that only exists to be
inherited from and not used on it's own?

Example:

class Animal(models.Model):
 name = models.CharField()

class Dog(Animal):
 x = models.CharField()

class Cat(Animal):
 y = models.CharField()


In the example I want to create and manipulate dog and cat objects,
but I will never need to use animal objects, so the animal table
doesn't need to be created at all.
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to