#27570: Make context processor run outside of RequestContext
---------------------------------+--------------------------------------
     Reporter:  Anthony King     |                    Owner:  nobody
         Type:  New feature      |                   Status:  new
    Component:  Template system  |                  Version:  master
     Severity:  Normal           |               Resolution:
     Keywords:                   |             Triage Stage:  Unreviewed
    Has patch:  0                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+--------------------------------------

Comment (by Aymeric Augustin):

 Quoting myself or #django-dev:

 > I would be more happy to support an option to add globals to Django
 templates — that could be a simple configuration option — than to start
 executing request context processors without a request

 > for your own projet, you can create a custom template backend that
 inherits the Django template backend, overrides render, and adds your
 globals to the context before calling the parent

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

Reply via email to