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/ref | |
| 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/ref')
| -rw-r--r-- | docs/ref/class-based-views/mixins-editing.txt | 4 |
1 files changed, 4 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 |
