#32429: Configurable "always available" InclusionNode context variables
-------------------------------------+-------------------------------------
     Reporter:  Michael Gisi         |                    Owner:  nobody
         Type:  New feature          |                   Status:  closed
    Component:  Template system      |                  Version:  3.1
     Severity:  Normal               |               Resolution:  wontfix
     Keywords:  context, inclusion   |             Triage Stage:
  tag, template                      |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

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


Comment:

 Thanks for this ticket, however creating a new setting is always
 controversial and we don't want tag-specific settings. The `csrf_token` is
 a special case (see #12095) to make CSRF protection to be as simple as
 possible. You can always subclass `InclusionNode` and add a custom
 decorator.

 Feel-free to start a discussion on DevelopersMailingList if you don't
 agree.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32429#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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/062.37b44e7b7315d01a6bfc93e087a11d45%40djangoproject.com.

Reply via email to