#13525: Document how to reverse URL patterns with nested groups
-------------------------------------+-------------------------------------
     Reporter:  nickretallack        |                    Owner:  bpeschier
         Type:                       |                   Status:  closed
  Cleanup/optimization               |
    Component:  Documentation        |                  Version:  1.1
     Severity:  Normal               |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Tim Graham <timograham@…>):

 In [changeset:"015a9b928af233ca036b93a4d7eecf18f15cbc2b" 015a9b9]:
 {{{
 #!CommitTicketReference repository=""
 revision="015a9b928af233ca036b93a4d7eecf18f15cbc2b"
 [1.8.x] Fixed #13525 -- Added tests and docs for nested parameters in URL
 patterns.

 When reversing, only outer parameters are used if captured parameters are
 nested. Added tests to check the edge cases and documentation for the
 behavior with an example to avoid it.

 Backport of 23a5d64f40b0f4a3fbfef7427ca793cb1df1034e from master
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/13525#comment:13>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/071.b66cec972d4fa47470c12144bc3e7030%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to