#6699: contrib.auth decorators aren't using proper decorator syntax
---------------------------+------------------------------------------------
   Reporter:  SmileyChris  |                Owner:  nobody      
     Status:  closed       |            Component:  Contrib apps
    Version:  SVN          |           Resolution:  invalid     
   Keywords:               |                Stage:  Unreviewed  
  Has_patch:  0            |           Needs_docs:  0           
Needs_tests:  0            |   Needs_better_patch:  0           
---------------------------+------------------------------------------------
Changes (by mtredinnick):

  * status:  new => closed
  * resolution:  => invalid

Comment:

 This is mistaken. Notice that login_required behaves differently based on
 whether function is passed in or not: one case returns a decorator
 (function=None), the other returns the decorated function.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/6699#comment:2>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" 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-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to