mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed #25397 -- Documented class-based view context variable clash with context processors.
This commit is contained in:
parent
484edc81c1
commit
494b7986a3
3 changed files with 29 additions and 6 deletions
|
@ -237,6 +237,11 @@ template, but you can override it to send more::
|
|||
after super if they want to be sure to override all parents. If you're
|
||||
having trouble, review the method resolution order of your view.
|
||||
|
||||
Another consideration is that the context data from class-based generic
|
||||
views will override data provided by context processors; see
|
||||
:meth:`~django.views.generic.detail.SingleObjectMixin.get_context_data` for
|
||||
an example.
|
||||
|
||||
.. _generic-views-list-subsets:
|
||||
|
||||
Viewing subsets of objects
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue