I think I might have the wrong idea about model inheritance.

I was using the 'newforms-admin' branch and implemented some model
inheritance just to see if it works and it did. Well, let's say that
it did what I had expected, or wanted it to do at the time.

class X(models.Model):
 x = models.CharField()

class Y(X):
 y = models.CharField()

class Z(X):
 z = models.CharField()

produced the tables

x(id, x)
y(id, x, y)
z(id, x, y, z)


All I need to know is if this is some kind of fall-back till full-
blown model inheritance is implemented, or if this is just a fluke.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to