On Thu, Mar 4, 2010 at 5:02 PM, Johannes Dollinger
wrote:
> Hi Steve,
>
> Multiple inheritance with abstract models works, and mostly did since the
> feature was added afaict. I use it regulary.
If multiple abstract inheritance works, it is accident, not
Hi Johannes,
Yes inheriting the managers is in fact how I currently deal with the
situation however I feel as though this violates the DRY principle as
the relationship is already expressed via the model inheritance. I
guess "explicit is better than implicit" chimes in here to some
degree.
On
Hi Steve,
Multiple inheritance with abstract models works, and mostly did since
the feature was added afaict. I use it regulary.
Just stay away from diamond inheritance and multi-multi-table
inheritance.
Regarding your managers: couldn't you just use inheritance explicitly?
class
:52 pm, Russell Keith-Magee <freakboy3...@gmail.com>
wrote:
> On Mon, Mar 1, 2010 at 12:40 PM, Stephen McDonald <stephen...@gmail.com>
> wrote:
> > Hi there,
>
> > I'm just getting an understanding around how managers from abstract
> > models are applied to a
On Mon, Mar 1, 2010 at 12:40 PM, Stephen McDonald <stephen...@gmail.com> wrote:
> Hi there,
>
> I'm just getting an understanding around how managers from abstract
> models are applied to a subclass model and it appears as though if a
> model inherits from two abstract mo
Hi there,
I'm just getting an understanding around how managers from abstract
models are applied to a subclass model and it appears as though if a
model inherits from two abstract models that each define a manager
with the same attribute name, eg "objects", then normal mro applies
and t