On Sun, Apr 13, 2008 at 6:24 PM, Alex Koshelev <[EMAIL PROTECTED]> wrote:

>
> Hi, Amit!
>
> Check this utils function:
>
> http://code.djangoproject.com/browser/django/trunk/django/utils/decorators.py#L9


This wont really help much as I will still have to apply the decorators
manually to all views instead of enabling them programmatically, and I can
still not call the view more than once etc.

I understand that it is probably too late for such a change, with a one book
published and two in the pipeline, but was wondering if there was some
advantage of the current design over this that I am missing.

PS: This is another advantage of having middleware as decorators, we won't
need that helper :-)

-- 
Amit Upadhyay
Vakow! www.vakow.com
+91-9820-295-512

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to