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:36 -0500 |
| commit | 6a94c97729591ba929885c713964304a773969a2 (patch) | |
| tree | a49d3a857dfa2f357851427a10974088fdb6b057 /docs/ref/forms | |
| parent | 58e0d6bdbc2f7db6c7377bcdaa3d4bd23f119d15 (diff) | |
[1.7.x] Corrected example in Form.has_changed() docs.
Backport of ebfadb808043c689b19cfee818c10f63866ee8fc from master
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 fca2c9482a..cba9eae1e3 100644 --- a/docs/ref/forms/api.txt +++ b/docs/ref/forms/api.txt @@ -257,7 +257,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 |
