﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
23130	Supplying choices to BooleanField without default yields blank choice even if blank=False	Jonas H.	Jacob Walls	"BooleanField currently allows settings 'choices'. It also always overrides 'blank'. This stems from the fact that in HTML, a blank value means False, and any (?) non-blank value means True for check boxes.

Now if you override 'choices', things change in terms of HTML, since now True and False are represented by ""True"" and ""False"" in the select box. This also makes it possible to supply a null/blank value (which would have meant False in the checkbox case).

BooleanField should either handle this fact gracefully, for instance by only overriding 'blank' if 'choices' is not given and then interpreting ""True"" and ""False"" as True and False. Or it should disallow overriding 'choices' entirely."	Bug	closed	Database layer (models, ORM)	dev	Normal	fixed		jonas-django@… tushar747@…	Accepted	1	0	0	0	0	0
