> How can I pass in the user to authenitcate and the login url arguments to
> the decorator directly?

You can simply use your own decorator and not the Django's.

Take the django login_required decorator and modify it accordingly to
your needs.
You need to change the LOGIN_URL constant.
What's the need to pass the user to authenticate? It uses request.user to check.

-- 
Lawrence, oluyede.org - neropercaso.it
"It is difficult to get a man to understand
something when his salary depends on not
understanding it" - Upton Sinclair

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

Reply via email to