diff options
| author | Gilberto Gonçalves <lursty@gmail.com> | 2013-06-22 12:12:43 +0100 |
|---|---|---|
| committer | Gilberto Gonçalves <lursty@gmail.com> | 2013-06-22 12:12:43 +0100 |
| commit | ef37b23050637da643b47b1ee744702d4d603f4c (patch) | |
| tree | 74e22031ce1798084cd59e06fd8ff402ddbcb54c /docs | |
| parent | ef79582e8630cb3c119caed52130c9671188addd (diff) | |
Fixed #18872 -- Added prefix to FormMixin
Thanks @ibustama for the initial patch and dragonsnaker for opening the
report.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/class-based-views/mixins-editing.txt | 4 | ||||
| -rw-r--r-- | docs/releases/1.6.txt | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/docs/ref/class-based-views/mixins-editing.txt b/docs/ref/class-based-views/mixins-editing.txt index 48d363b3b2..a0160610d2 100644 --- a/docs/ref/class-based-views/mixins-editing.txt +++ b/docs/ref/class-based-views/mixins-editing.txt @@ -35,6 +35,10 @@ FormMixin The URL to redirect to when the form is successfully processed. + .. attribute:: prefix + + Sets the :attr:`~django.forms.Form.prefix` for the generated form. + .. method:: get_initial() Retrieve initial data for the form. By default, returns a copy of diff --git a/docs/releases/1.6.txt b/docs/releases/1.6.txt index 16e0b94a9d..95bfedc74e 100644 --- a/docs/releases/1.6.txt +++ b/docs/releases/1.6.txt @@ -731,6 +731,9 @@ Miscellaneous of the admin views. You should update your custom templates if they use the previous parameter name. +* Added :attr:`~django.views.generic.edit.FormMixin.prefix` to allow you to + customize the prefix on the form. + Features deprecated in 1.6 ========================== |
