#28331: Add an extra_context attribute to class-based generic views that use
ContextMixin (e.g. TemplateView)
-------------------------------------+-------------------------------------
Reporter: Jeremy | Owner: Bruno
Type: | Alla
Cleanup/optimization | Status: assigned
Component: Generic views | Version: 1.11
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 1
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Bruno Alla):
I assume a good place to document that is here:
https://docs.djangoproject.com/en/dev/ref/class-based-views/mixins-
simple/#contextmixin
As well as adding an entry in the release notes:
https://docs.djangoproject.com/en/dev/releases/2.0/
And maybe mention it in the TemplateView, under the context section as
well?
https://docs.djangoproject.com/en/dev/ref/class-based-
views/base/#templateview
--
Ticket URL: <https://code.djangoproject.com/ticket/28331#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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/070.b69328b24b4b7c4b91b1f48d9e5f87af%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.