1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Fixed #18872 -- Added prefix to FormMixin

Thanks @ibustama for the initial patch and dragonsnaker for opening the
report.
This commit is contained in:
Gilberto Gonçalves
2013-06-22 12:12:43 +01:00
parent ef79582e86
commit ef37b23050
5 changed files with 40 additions and 2 deletions

View File

@@ -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