#28331: Add an extra_context attribute to class-based generic views that use
ContextMixin (e.g. TemplateView)
--------------------------------------+------------------------------------
Reporter: Jeremy | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Generic views | Version: 1.11
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Tim Graham):
* type: Uncategorized => Cleanup/optimization
* component: Uncategorized => Generic views
* easy: 0 => 1
* stage: Unreviewed => Accepted
Comment:
This was also suggested in #17697 but the ticket triagers didn't
understand the suggestion. The suggestion seems okay to me. I think it
would involve modifying
[https://github.com/django/django/blob/8cb1b1fd8e529d1896daeb089ea726109e0ba4f7/django/views/generic/base.py#L22-L25
ContextMixin.get_context_data()].
--
Ticket URL: <https://code.djangoproject.com/ticket/28331#comment:3>
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.912e7d6fa733b0a102b56448e902cdc7%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.