summaryrefslogtreecommitdiff
path: root/docs/ref/forms
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-12-05 13:17:14 -0500
committerTim Graham <timograham@gmail.com>2014-12-05 13:17:14 -0500
commitebfadb808043c689b19cfee818c10f63866ee8fc (patch)
tree5362839e927cb40bd54e4631a149039e8747bb08 /docs/ref/forms
parentf0c7a6f36005d489e049236922abe0bd3a3eac2c (diff)
Corrected example in Form.has_changed() docs.
Diffstat (limited to 'docs/ref/forms')
-rw-r--r--docs/ref/forms/api.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/forms/api.txt b/docs/ref/forms/api.txt
index deb974ad5d..44987ab98c 100644
--- a/docs/ref/forms/api.txt
+++ b/docs/ref/forms/api.txt
@@ -268,7 +268,7 @@ form data has been changed from the initial data.
... 'message': 'Hi there',
... 'sender': 'foo@example.com',
... 'cc_myself': True}
- >>> f = ContactForm(initial=data)
+ >>> f = ContactForm(data, initial=data)
>>> f.has_changed()
False