Python Mixins

rantingrick rantingrick at
Sat Sep 24 17:05:36 EDT 2011

On Sep 22, 4:14 pm, Matt <mattj.morri... at> wrote:
> I'm curious about what people's opinions are about using mixins in
> Python. I really like, for example, the way that class based views
> were implemented in Django 1.3 using mixins. It makes everything
> extremely customizable and reusable. I think this is a very good
> practice to follow, however, in Python mixins are achieved by using
> (or perhaps misusing) inheritance and often multiple inheritance.

Have a look at this article also. Even though he uses java source code
anyone can follow along:

More information about the Python-list mailing list