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

This commit is contained in:
Dan Fellin 2015-03-11 17:21:08 -06:00 committed by Tim Graham
parent bb581f62ab
commit 6ff826e12e
1 changed files with 1 additions and 1 deletions

View File

@ -691,7 +691,7 @@ and values from an attached model instance. For example::
>>> article.headline >>> article.headline
'My headline' 'My headline'
>>> form = ArticleForm(initial={'headline': 'Initial headline'), instance=article) >>> form = ArticleForm(initial={'headline': 'Initial headline'), instance=article)
>>> form['pub_date'].value() >>> form['headline'].value()
'Initial headline' 'Initial headline'
.. _modelforms-factory: .. _modelforms-factory: