Thanks Adrian!
And thanks, Jay, for the feedback.
On 7/4/06,
Adrian Holovaty <[EMAIL PROTECTED]> wrote:
On 7/4/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
> I think you may be overengineering a bit. Django's views can be any
> callable object -- not just functions -- so you can pass callable
> classes to them. There's no need to use a custom middleware, and
> there's no need to use decorators.
Note there's a bug in the code I posted -- MyMethodDelegator should be
subclassing MethodDelegator.
Adrian
--
Adrian Holovaty
holovaty.com | djangoproject.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/django-developers
-~----------~----~----~----~------~----~------~--~---
