#24127: Automatically set the current URL namespace based on the URL of the 
current
request
-----------------------------+------------------------------------
     Reporter:  aaugustin    |                    Owner:  knbk
         Type:  New feature  |                   Status:  closed
    Component:  Core (URLs)  |                  Version:  master
     Severity:  Normal       |               Resolution:  fixed
     Keywords:  current_app  |             Triage Stage:  Accepted
    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:"bc7923beffea3c51271935cad1371a67c5fcc71b" bc7923b]:
 {{{
 #!CommitTicketReference repository=""
 revision="bc7923beffea3c51271935cad1371a67c5fcc71b"
 Fixed #24127 -- Changed the default current_app to the current namespace.

 Changed the url template tag to use request.resolver_match.namespace as a
 default for the current_app argument if request.current_app is not set.
 }}}

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

Reply via email to