#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
-------------------------------------+-------------------------------------

Comment (by Tim Graham <timograham@…>):

 In [changeset:"ff8eabc5ccb7af928856910c8af72d84346821e9" ff8eabc]:
 {{{
 #!CommitTicketReference repository=""
 revision="ff8eabc5ccb7af928856910c8af72d84346821e9"
 [1.8.x] 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.

 Backport of 4ea1909d3c420ba1fbdbf7221cad518d43aef885 from master
 }}}

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

Reply via email to