Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Basic reference documentation of ContextMixin.

  • Loading branch information...
commit 983b554e2999f3a64d86afcf7d237be629690583 1 parent af7519e
@jaylett jaylett authored James Aylett committed
Showing with 9 additions and 0 deletions.
  1. +9 −0 docs/ref/class-based-view-mixins.txt
View
9 docs/ref/class-based-view-mixins.txt
@@ -37,6 +37,15 @@ Simple mixins
.. currentmodule:: django.views.generic.base
+ContextMixin
+~~~~~~~~~~~~~~~~~~~~~
+.. class:: ContextMixin()
+
+ .. method:: get_context_data(**kwargs)
+
+ Returns a dictionary representing the template context. The
+ keyword arguments provided will make up the returned context.
+
TemplateResponseMixin
~~~~~~~~~~~~~~~~~~~~~
.. class:: TemplateResponseMixin()
Please sign in to comment.
Something went wrong with that request. Please try again.