While not strictly a django issue, this is relating to a ticket I found
when looking into why login_required won't accept a login_url param.

In http://code.djangoproject.com/ticket/903 Adrian says that changing
the definition would break backwards compatibility, and not knowing
tons about python, I can't see why...

Can anyone explain why doing "login_required =
user_passes_test(whatever)" is different than "def login_required(foo):
return user_passes_test(whatever)" ?


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