0
0
mirror of https://github.com/django/django.git synced 2024-11-29 06:03:25 +01:00

Fixed typo in docs/topics/forms/modelforms.txt

This commit is contained in:
Sergey Fedoseev 2016-05-27 20:31:33 +06:00 committed by Tim Graham
parent 838386815f
commit 26794f6657

View File

@ -642,7 +642,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):