#17381: TemplateView get method passes kwargs into context
-------------------------------+--------------------
Reporter: ptone | Owner: nobody
Type: Bug | Status: new
Component: Generic views | Version: SVN
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------
TemplateView is unique among the CB Views in passing the kwargs passed to
the get method (from the URLConf) directly into context
I believe this to be a bug - get_context_data does take kwargs, but they
are intended as ways to override context values - context should not, by
default, have all the kwargs being passed to the view from the URLConf.
The question is - can this fix be made as a backwards incompatible change
- or does it need to go through deprecation?
--
Ticket URL: <https://code.djangoproject.com/ticket/17381>
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.