[PATCH 2/2] forms: 'False' != False
stephen at that.guru
Sat Dec 24 10:06:49 AEDT 2016
On Fri, 2016-12-23 at 19:43 +0000, Stephen Finucane wrote:
> Forms cast boolean values to strings, and attempting to coerce using
> 'bool' function does not correctly return them to true boolean
> Correct this by doing a string comparison instead.
> Signed-off-by: Stephen Finucane <stephen at that.guru>
> Fixes: 0abde97aa ("forms: Use TypedChoiceField")
Quick merge to fix the tests.
More information about the Patchwork