summaryrefslogtreecommitdiff
path: root/docs/ref/class-based-views/mixins-editing.txt
diff options
context:
space:
mode:
authorIssac Kelly <issac.kelly@gmail.com>2012-08-10 23:07:15 -0700
committerIssac Kelly <issac.kelly@gmail.com>2012-08-10 23:07:15 -0700
commit060ac8e7115b51374de7d5e34c784d9df5764d0b (patch)
tree983f7e385c3a59491aee491b9d61f6adbc6db65e /docs/ref/class-based-views/mixins-editing.txt
parent87e0a75c03747c5b7ed87311c2e1f34d9fb20bee (diff)
downloaddjango-060ac8e7115b51374de7d5e34c784d9df5764d0b.tar.gz
Create headings and expand CBV docs so that the "Built-In CBV" docs include a complete list.
Diffstat (limited to 'docs/ref/class-based-views/mixins-editing.txt')
-rw-r--r--docs/ref/class-based-views/mixins-editing.txt14
1 files changed, 12 insertions, 2 deletions
diff --git a/docs/ref/class-based-views/mixins-editing.txt b/docs/ref/class-based-views/mixins-editing.txt
index 89610889db..95dd24f442 100644
--- a/docs/ref/class-based-views/mixins-editing.txt
+++ b/docs/ref/class-based-views/mixins-editing.txt
@@ -14,6 +14,9 @@ The following mixins are used to construct Django's editing views:
Examples of how these are combined into editing views can be found at
the documentation on ``Generic editing views``.
+FormMixin
+---------
+
.. class:: django.views.generic.edit.FormMixin
A mixin class that provides facilities for creating and displaying forms.
@@ -90,6 +93,9 @@ The following mixins are used to construct Django's editing views:
:meth:`~django.views.generic.FormMixin.form_invalid`.
+ModelFormMixin
+--------------
+
.. class:: django.views.generic.edit.ModelFormMixin
A form mixin that works on ModelForms, rather than a standalone form.
@@ -147,12 +153,16 @@ The following mixins are used to construct Django's editing views:
.. method:: form_invalid()
Renders a response, providing the invalid form as context.
-
+
+
+ProcessFormView
+---------------
+
.. class:: django.views.generic.edit.ProcessFormView
A mixin that provides basic HTTP GET and POST workflow.
- .. note::
+ .. note::
This is named 'ProcessFormView' and inherits directly from
:class:`django.views.generic.base.View`, but breaks if used