#34883: Allow template tags to set extra data on templates.
-------------------------------------+-------------------------------------
     Reporter:  Carlton Gibson       |                    Owner:  Carlton
                                     |  Gibson
         Type:  New feature          |                   Status:  closed
    Component:  Template system      |                  Version:  5.0
     Severity:  Normal               |               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 Mariusz Felisiak <felisiak.mariusz@…>):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"35bbb2c9c01882b1d77b0b8c737ac646144833d4" 35bbb2c]:
 {{{
 #!CommitTicketReference repository=""
 revision="35bbb2c9c01882b1d77b0b8c737ac646144833d4"
 Fixed #34883 -- Allowed template tags to set extra data on templates.

 By setting a value in the `parser.extra_data` mapping, template tags
 pass additional data out of the parsing context.

 Any extra data set is exposed on the template via the matching
 `.extra_data` attribute.

 Library authors should use a key to namespace extra data. The 'django'
 namespace is reserved for internal use.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34883#comment:6>
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/0107018af0dc1070-4f84fd52-9de4-4876-aa93-0a36eff386e3-000000%40eu-central-1.amazonses.com.

Reply via email to