From ebfadb808043c689b19cfee818c10f63866ee8fc Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Fri, 5 Dec 2014 13:17:14 -0500 Subject: [PATCH] Corrected example in Form.has_changed() docs. --- docs/ref/forms/api.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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