Another minor grammatical fix in docs/modelforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7223 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
866d7fa961
commit
a74299fb61
|
@ -248,7 +248,7 @@ model fields:
|
||||||
|
|
||||||
3. Use the ``exclude`` attribute of the ``ModelForm``'s inner ``Meta``
|
3. Use the ``exclude`` attribute of the ``ModelForm``'s inner ``Meta``
|
||||||
class. This attribute, if given, should be a list of field names
|
class. This attribute, if given, should be a list of field names
|
||||||
to exclude the form.
|
to exclude from the form.
|
||||||
|
|
||||||
For example, if you want a form for the ``Author`` model (defined
|
For example, if you want a form for the ``Author`` model (defined
|
||||||
above) that includes only the ``name`` and ``title`` fields, you would
|
above) that includes only the ``name`` and ``title`` fields, you would
|
||||||
|
|
Loading…
Reference in New Issue