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:18:00 -0500 |
| commit | 9abfe2c02d603fac28d769c48a89835a1d324ad7 (patch) | |
| tree | b5fc7e0b9d5c736144403df9ba032f18cc966d6b /docs | |
| parent | fdbe038ced67f567853cde4ea154747f5074344f (diff) | |
[1.6.x] Corrected example in Form.has_changed() docs.
Backport of ebfadb808043c689b19cfee818c10f63866ee8fc from master
Diffstat (limited to 'docs')
| -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 d819ec3489..1d1e7f5918 100644 --- a/docs/ref/forms/api.txt +++ b/docs/ref/forms/api.txt @@ -177,7 +177,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 |
