1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #24788 -- Allowed Forms to specify a prefix at the class level.

This commit is contained in:
Paweł Marczewski
2015-05-24 20:43:20 +02:00
committed by Tim Graham
parent 4ccfc4439a
commit 4df7e8483b
4 changed files with 28 additions and 1 deletions

View File

@@ -161,6 +161,9 @@ Forms
:attr:`~django.forms.Form.field_order` attribute, the ``field_order``
constructor argument , or the :meth:`~django.forms.Form.order_fields` method.
* A form prefix can be specified inside a form class, not only when
instantiating a form. See :ref:`form-prefix` for details.
Generic Views
^^^^^^^^^^^^^