Results for tag: abc
Django Tutorial - Abstract Base Classes vs Model Table Inheritance
With the recent QuerySet-Refactor branch merged into trunk the django developer community is finally gifted with one of the more popular, outstanding ticket requests they've been waiting for... model inheritance. Funny thing is people don't really seem to care, aren't ready to try it yet, or some don't fully grok it yet. Well, that's no good because it promotes code reuse, code reduction, and increases developer productivity. So let's take a look at the three existing options for extending your model classes, take a peek at what's going on in our database, and what type of syntactical sugar (or magic) are we gaining? Then you can make the decision as to which is best for you.
