On Sun, Nov 30, 2008 at 11:48 PM, David Shieh <[EMAIL PROTECTED]> wrote:
> I think your solution can resolve my problem.But does it a bit
> complex ?
> In fact , what I really want is a view function that will be called by
> every view function.
> i.e. , if I wrote an auth system , I need to authenticate whether the
> user is logged in every view functions and pass some parameters to
> every views function .

Perhaps it would be a good idea at this point to read Django's
middleware documentation, to get a feel for how that works and how you
might put it to use?


-- 
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to