On Sat, Oct 18, 2008 at 10:41 PM, askel <[EMAIL PROTECTED]> wrote:
>
> Well, apparently, my idea on that didn't make it working because it
> isn't much different if you use global or local reference to the same
> proxy object. At the time that function is called real session and
> request are referenced by them.

I think it will work if you do the import of session and request in
Auth.py, and then just decorate the action with @auth.login_required
(no parameter being passed)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to