#6700: smart_decorator util
------------------------+---------------------------------------------------
Reporter:  SmileyChris  |       Owner:  nobody        
  Status:  new          |   Component:  Core framework
 Version:  SVN          |    Keywords:                
   Stage:  Unreviewed   |   Has_patch:  1             
------------------------+---------------------------------------------------
 Django has some "decorators" which accept additional arguments. These
 decorators can't be called with Python 2.4 format ([EMAIL PROTECTED](*args)`).

 This util provides a `smart_decorator` which can be used to allow a
 decorator which accepts additional arguments to handle both [EMAIL PROTECTED]
 and [EMAIL PROTECTED](*args)` formats. It also means that these decorators can
 be made backwards compatible too, which is always nice.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/6700>
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