I've been putting the 1.11 test version through its paces and noticed this issue. A model form with a checkbox input will not respect the model field's initial value.
I tracked down the problem to line 135 in djng/forms/angular_base.py:
context = super(self.__class__, self).get_context(name, value, attrs)
Is there a good reason to call super there? It's skipping the CheckboxInput get_context method and only running the Input get_context method.
I've been putting the 1.11 test version through its paces and noticed this issue. A model form with a checkbox input will not respect the model field's initial value.
I tracked down the problem to line 135 in djng/forms/angular_base.py:
context = super(self.__class__, self).get_context(name, value, attrs)
Is there a good reason to call super there? It's skipping the CheckboxInput get_context method and only running the Input get_context method.