#17228: params context variable from TemplateView is inconsistent with other
get_context_data implementations
-------------------------------------+-------------------------------------
Reporter: ptone | Owner: nobody
Type: | Status: new
Cleanup/optimization | Version: SVN
Component: Generic views | Resolution:
Severity: Normal | Triage Stage:
Keywords: | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by ptone):
The reason for params is to allow easier migration from
direct_to_template:
https://docs.djangoproject.com/en/dev/ref/generic-views/#django-views-
generic-simple-direct-to-template
However, I still think that the pattern is deviant enough from the main
CBV to warrant a deprecation, which won't completely kick in until a
version after function based views are completely removed from Django.
--
Ticket URL: <https://code.djangoproject.com/ticket/17228#comment:2>
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.