#24476: Allow using set_script_prefix as a contextmanager
-------------------------------------+-------------------------------------
     Reporter:  timgraham            |                    Owner:  bpeschier
         Type:                       |                   Status:  closed
  Cleanup/optimization               |
    Component:  Core (URLs)          |                  Version:  master
     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
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):

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


Comment:

 In [changeset:"0339844b70895d6162b4595ae615e6edf843c6cd" 0339844b]:
 {{{
 #!CommitTicketReference repository=""
 revision="0339844b70895d6162b4595ae615e6edf843c6cd"
 Fixed #24476 -- Added context manager/decorator for overriding script
 prefix.

 Tests were using an undocumented keyword argument for easily overriding
 script prefix while reversing. This is now changed into a test utility
 which can be used as decorator or context manager.
 }}}

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

Reply via email to