> When you define an abstract model, you have to define the ``abstract''
> property inside its
> Meta.http://docs.djangoproject.com/en/1.2/ref/models/options/#abstracthttp://docs.djangoproject.com/en/1.2/topics/db/models/#abstract-base-...
>
> That way your abstract class can inherit models.Model
> If I have my abstract super classes inherit models.Model, things
> technically can work. However, I arrive with a rather overly complex
> SQL design generated from them (like needless tables for abstract
> super classes).
>
> On the other hand, if I have my abstract super classes NOT inherit
>
Hello folks,
I'm a long time Python developer that is new to Django. I have a few
questions about the role of inheritance in the models for an app.
As I build my models, I'm finding at least somewhat of a need to start
doing some inheritance, and if not a need--at least a design-related
desire t
3 matches
Mail list logo