#3683: permalink decorator takes redundant arguments
---------------------------+------------------------------------------------
   Reporter:  SmileyChris  |                Owner:  adrian        
     Status:  closed       |            Component:  Core framework
    Version:  SVN          |           Resolution:  invalid       
   Keywords:               |                Stage:  Unreviewed    
  Has_patch:  1            |           Needs_docs:  0             
Needs_tests:  0            |   Needs_better_patch:  0             
---------------------------+------------------------------------------------
Comment (by SmileyChris):

 The reason why I had this idea was because of something I had read in the
 current docs.
 {{{
 The matching/grouping algorithm
 
 Here's the algorithm the URLconf parser follows, with respect to named
 groups vs. non-named groups in a regular expression:
 
 If there are any named arguments, it will use those, ignoring non-named
 arguments. Otherwise, it will pass all non-named arguments as positional
 arguments.
 }}}
 
 Maybe it's just my misinterpretation, but it should probably state that
 the non-named arguments are still used if no matching named argument is
 found, not just "ignored".

-- 
Ticket URL: <http://code.djangoproject.com/ticket/3683#comment:6>
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