#14772: Reversing a URL with optional arguments fails
-------------------------------------+-------------------------------------
     Reporter:  robhudson            |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Core (URLs)          |                  Version:  1.2
     Severity:  Normal               |               Resolution:  fixed
     Keywords:  reverse,             |             Triage Stage:  Accepted
  sprintdec2010                      |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by bpeschier):

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


Comment:

 The reason the tests failed with the slash inside the capturing group was
 that you should add the slash to the group in the reverse args/kwargs.

 The second patch runs smoothly against master, probably fixed somewhere
 between then and now.

 I am including the tests as part of the tests/documentation of #13525

--
Ticket URL: <https://code.djangoproject.com/ticket/14772#comment:7>
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/067.66a1e9c882ccf0e781af3ee631eb8903%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to