summaryrefslogtreecommitdiff
path: root/docs/topics/class-based-views
diff options
context:
space:
mode:
authorBruno Alla <browniebroke@users.noreply.github.com>2017-07-06 15:34:54 +0100
committerTim Graham <timograham@gmail.com>2017-07-06 10:34:54 -0400
commit604341c85fe42c809d17ea2418566a48f60f78db (patch)
tree991b8f9f65c451c2888b2f6086f1cda144c1eb35 /docs/topics/class-based-views
parent42e91cd6f4a5ea79ebacbc58a9ffaf115d8800d5 (diff)
Fixed #28331 -- Added ContextMixin.extra_context to allowing passing context in as_view().
Diffstat (limited to 'docs/topics/class-based-views')
-rw-r--r--docs/topics/class-based-views/mixins.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/topics/class-based-views/mixins.txt b/docs/topics/class-based-views/mixins.txt
index d0f0bddbc2..8da0834866 100644
--- a/docs/topics/class-based-views/mixins.txt
+++ b/docs/topics/class-based-views/mixins.txt
@@ -62,7 +62,8 @@ interface to working with templates in class-based views.
any data they want to ensure is in there as keyword arguments.
``get_context_data()`` returns a dictionary; in ``ContextMixin`` it
simply returns its keyword arguments, but it is common to override this to
- add more members to the dictionary.
+ add more members to the dictionary. You can also use the
+ :attr:`~django.views.generic.base.ContextMixin.extra_context` attribute.
Building up Django's generic class-based views
==============================================