Loading docs/ref/forms/api.txt +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading Loading
docs/ref/forms/api.txt +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading