1
0
mirror of https://github.com/django/django.git synced 2025-01-28 19:19:20 +00:00

[1.8.x] Fixed typo in docs/topics/forms/modelforms.txt.

Backport of 6ff826e12ea99c0eb871716cfedc2c8e199695f3 from master
This commit is contained in:
Dan Fellin 2015-03-11 17:21:08 -06:00 committed by Tim Graham
parent e0e2df412f
commit 9f39715509

View File

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