Thanks , David Zhou , I will find some information for decorator And also , I will surf for middleware .
Thank you very much , Malcolm. On Dec 1, 3:55 pm, "David Zhou" <[EMAIL PROTECTED]> wrote: > On Mon, Dec 1, 2008 at 2:23 AM, David Shieh <[EMAIL PROTECTED]> wrote: > > I dont' know whether this make any sense . > > Right now , I can't test it , but if django won't initiate the > > views.py as a class , this method will make no sense. > > Why not write a decorator? > > --- > David Zhou > [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---