#24538: Rendering a Jinja template with a context containing 'self' fails
-------------------------------------+-------------------------------------
     Reporter:  tim_heap             |                    Owner:  charettes
         Type:  Bug                  |                   Status:  closed
    Component:  Template system      |                  Version:  1.8rc1
     Severity:  Release blocker      |               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:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"4ea1909d3c420ba1fbdbf7221cad518d43aef885" 4ea1909]:
 {{{
 #!CommitTicketReference repository=""
 revision="4ea1909d3c420ba1fbdbf7221cad518d43aef885"
 Fixed #24538 -- Allowed self in Jinja context

 Rendering a Jinja template with self in the context threw an error.
 While self is a reserved variable in Jinja, including self in the
 context is not an error, so Django should respect that.
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/24538#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/066.7ff727bdf67cc6671c54db3e3420359a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to