Kaydet (Commit) 26794f66 authored tarafından Sergey Fedoseev's avatar Sergey Fedoseev Kaydeden (comit) Tim Graham

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

üst 83838681
...@@ -642,7 +642,7 @@ This creates a form that behaves identically to ``ArticleForm``, except there's ...@@ -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. 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 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 RestrictedArticleForm(EnhancedArticleForm):
... class Meta(ArticleForm.Meta): ... class Meta(ArticleForm.Meta):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment