#16642: TemplateResponseView get_context_data returns params dict
-------------------------+-------------------------------
Reporter: martinogden | Owner: martinogden
Type: Bug | Status: new
Milestone: | Component: Generic views
Version: 1.3 | Severity: Normal
Keywords: | Triage Stage: Unreviewed
Has patch: 1 | Easy pickings: 1
UI/UX: 0 |
-------------------------+-------------------------------
the TemplateResponseView class based view should return kwargs as a dict
when calling get_context_data (same as all the other class based views),
however it returns the kwargs as {'params': kwargs} therefore they are
extra context is namespaced (e.g. {{ params.extra_data }} rather than {{
extra_data }} as documented.
--
Ticket URL: <https://code.djangoproject.com/ticket/16642>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.