diff options
author | Issac Kelly <issac.kelly@gmail.com> | 2012-08-10 23:07:15 -0700 |
---|---|---|
committer | Issac Kelly <issac.kelly@gmail.com> | 2012-08-10 23:07:15 -0700 |
commit | 060ac8e7115b51374de7d5e34c784d9df5764d0b (patch) | |
tree | 983f7e385c3a59491aee491b9d61f6adbc6db65e /docs/ref/class-based-views/mixins-editing.txt | |
parent | 87e0a75c03747c5b7ed87311c2e1f34d9fb20bee (diff) | |
download | django-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.txt | 14 |
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 |