﻿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
2855	[patch] BooleanField should use False as default (unless provided)	Chris Beaven	nobody	"When creating models, `BooleanField`s which haven't explicitly been given a `default` have to be specifically set or a SQL error will occur (because the default value will be ''). Simple solution is to force the default to `False` if no default is given.

{{{
#!python
# The model
class TestModel(models.Model):
    check = models.BooleanField()

# then in code..
t = TestModel()
t.save()  # will error, because the boolean field will return the default of '' instead of False
}}}"	defect	closed	Database layer (models, ORM)		normal	wontfix	BooleanField NullBooleanField		Design decision needed	1	0	0	0	0	0
