On 10/13/05, Andreas Stuhlmüller <[EMAIL PROTECTED]> wrote: > Is there a reason for the middleware being old-style classes? If > middleware was defined as Middleware(object) we could extend it like > this without modifying Django's source:
Nope, no reason. Generally throughout the Django code, we use new-style classes only when there's a specific need to do so -- like when we want to use properties. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com | chicagocrime.org