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