Fixed #25397 -- Documented class-based view context variable clash with context processors.

This commit is contained in:
Jacek Bzdak 2015-10-21 10:28:22 +02:00 committed by Tim Graham
parent 484edc81c1
commit 494b7986a3
3 changed files with 29 additions and 6 deletions

View file

@ -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