#18753: Views should be given the instance namespace retrieved during the 
resolve
process
-----------------------------+-----------------------------------
     Reporter:  GaretJax     |      Owner:  nobody
         Type:  New feature  |     Status:  new
    Component:  Core (URLs)  |    Version:  1.4
     Severity:  Normal       |   Keywords:  namespace current_app
 Triage Stage:  Unreviewed   |  Has patch:  1
Easy pickings:  1            |      UI/UX:  0
-----------------------------+-----------------------------------
 During the URL resolving process, the instance namespace is returned as
 part of the match object but then never propagated to the final view or
 made available to other middlewares (see
 
https://github.com/django/django/blob/master/django/core/handlers/base.py#L103).

 This value could be made available to the view as part of the request
 object (an attribute?) or another way which does not involve a second
 resolve call. It can then also be used as a default value for the
 'current_app' argument of the 'render' shortcut or the RequestContext
 class.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/18753>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to