diff options
| author | Tim Graham <timograham@gmail.com> | 2014-12-05 13:17:14 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-12-05 13:17:14 -0500 |
| commit | ebfadb808043c689b19cfee818c10f63866ee8fc (patch) | |
| tree | 5362839e927cb40bd54e4631a149039e8747bb08 /docs/ref/forms | |
| parent | f0c7a6f36005d489e049236922abe0bd3a3eac2c (diff) | |
Corrected example in Form.has_changed() docs.
Diffstat (limited to 'docs/ref/forms')
| -rw-r--r-- | docs/ref/forms/api.txt | 2 |
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 |
