Changes between Initial Version and Version 1 of Ticket #28125


Ignore:
Timestamp:
Apr 25, 2017, 11:23:10 AM (7 years ago)
Author:
Tim Graham
Comment:

This is a confusion between django.template.backends.django.Template, which the release notes are meant to refer to, and django.template.base.Template. I'll clarify the release notes.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28125

    • Property Component Template systemDocumentation
    • Property Owner changed from nobody to Tim Graham
    • Property Status newassigned
    • Property Summary Calling render on a Template object passing a dict failsClarify 1.11 release notes about which Template class prohibits non-dict contexts
    • Property Type BugCleanup/optimization
  • Ticket #28125 – Description

    initial v1  
    1 According to the release docs for 1.11 any callto `render()` on a `Template` object you need to pass a `dict`
     1According to the release docs for 1.11 any call to `render()` on a `Template` object you need to pass a `dict`
    22https://docs.djangoproject.com/en/1.11/releases/1.11/#django-template-render-prohibits-non-dict-context
    33
Back to Top