Skip to content

Commit 9abfe2c

Browse files
committed
[1.6.x] Corrected example in Form.has_changed() docs.
Backport of ebfadb8 from master
1 parent fdbe038 commit 9abfe2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/ref/forms/api.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ form data has been changed from the initial data.
177177
... 'message': 'Hi there',
178178
... 'sender': 'foo@example.com',
179179
... 'cc_myself': True}
180-
>>> f = ContactForm(initial=data)
180+
>>> f = ContactForm(data, initial=data)
181181
>>> f.has_changed()
182182
False
183183

0 commit comments

Comments
 (0)