mirror of
https://github.com/django/django.git
synced 2025-08-16 00:30:47 +00:00
[1.9.x] Fixed #25397 -- Documented class-based view context variable clash with context processors.
Backport of 494b7986a3
from master
This commit is contained in:
parent
2eab4acb3e
commit
488538e55e
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