Re: Form.has_changed() == False and Form.changed_data empty

2021-04-12 Thread Lars Liedtke
ethod I check > for if my form has changed. This works fine for an initial empty form > and checking form.has_changed(); after then handling the change and > calling get() with the objects id in the Browser. I get the Form back > with checked checkboxes. The

Re: Form.has_changed() == False and Form.changed_data empty

2021-04-11 Thread Gabriel Araya Garcia
base are fine as well. > > So now I want to test with unchecking those checkboxes and it does not > work. Form.has_changed() == False and Form.changed_data is empty. While > the correct values are in Form.cleaned_data(). But my code does not > detect these values because I check for Fo

Form.has_changed() == False and Form.changed_data empty

2021-04-11 Thread Lars Liedtke
then handling the change and calling get() with the objects id in the Browser. I get the Form back with checked checkboxes. The values in the database are fine as well. So now I want to test with unchecking those checkboxes and it does not work. Form.has_changed() == False and Form.changed_data