mirror of
https://github.com/django/django.git
synced 2025-09-28 13:04:54 +00:00
[1.10.x] Fixed typo in docs/topics/forms/modelforms.txt
Backport of 26794f6657
from master
This commit is contained in:
parent
06db2b88cf
commit
f38e950685
1 changed files with 1 additions and 1 deletions
|
@ -646,7 +646,7 @@ This creates a form that behaves identically to ``ArticleForm``, except there's
|
|||
some extra validation and cleaning for the ``pub_date`` field.
|
||||
|
||||
You can also subclass the parent's ``Meta`` inner class if you want to change
|
||||
the ``Meta.fields`` or ``Meta.excludes`` lists::
|
||||
the ``Meta.fields`` or ``Meta.exclude`` lists::
|
||||
|
||||
>>> class RestrictedArticleForm(EnhancedArticleForm):
|
||||
... class Meta(ArticleForm.Meta):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue