So it appears that while we have all been whimpering about missing inheritance functionality in Django models, Malcolm Tredinnick has been extremely busy getting it implemented. Changeset 7126 adds two very cool pieces to Django’s model options: abstract base classes and model inheritance. According to the docs, model inheritance exists in two varieties:
- abstract base classes which are a way of specifying common information inherited by the subclasses. They don’t exist as a separate model.
- non-abstract base classes (the default), which are models in their own right with their own database tables and everything. Their subclasses have references back to them, created automatically.
I will not describe them in full because that’s been done so well in the documentation changes as part of the changeset.



awesome !
What? Someone was actually working while I was complaining about lack of funcionality? How come? :) Fantastic work!
This is the best news I’ve heard all month.