Backport of r16300 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16302 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
d2abec535e
commit
9f71bef7e9
@ -431,7 +431,7 @@ FormMixin
|
|||||||
|
|
||||||
.. method:: get_form_kwargs()
|
.. method:: get_form_kwargs()
|
||||||
|
|
||||||
Build the keyword arguments requried to instanciate an the form.
|
Build the keyword arguments required to instantiate the form.
|
||||||
|
|
||||||
The ``initial`` argument is set to :meth:`.get_initial`. If the
|
The ``initial`` argument is set to :meth:`.get_initial`. If the
|
||||||
request is a ``POST`` or ``PUT``, the request data (``request.POST``
|
request is a ``POST`` or ``PUT``, the request data (``request.POST``
|
||||||
|
@ -38,7 +38,7 @@ There are three steps involved in validating a model:
|
|||||||
2. Validate the model as a whole
|
2. Validate the model as a whole
|
||||||
3. Validate the field uniqueness
|
3. Validate the field uniqueness
|
||||||
|
|
||||||
All three steps are performed when you call by a model's
|
All three steps are performed when you call a model's
|
||||||
``full_clean()`` method.
|
``full_clean()`` method.
|
||||||
|
|
||||||
When you use a ``ModelForm``, the call to ``is_valid()`` will perform
|
When you use a ``ModelForm``, the call to ``is_valid()`` will perform
|
||||||
|
Loading…
x
Reference in New Issue
Block a user