To ensure that a model BooleanField has an explicit value set (and since it's not required, by default), set the default properly in the constructor.
To ensure that a model BooleanField has an explicit value set (and since it's
not required, by default), set the default properly in the constructor.

This code can be simplified when/if we resolve the
BooleanField/NullBooleanField overlap, but the current stuff is backwards
compatible. This would previously cause SQL errors on PostgreSQL and
interesting failures in subtle ways on MySQL and SQLite.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8050 bcc190cf-cafb-0310-a4f2-bffc1f526a37

--HG--
extra : convert_revision : 1e2105fcd32006c23aa8255d674ddd5045931075

adieu/django-nonrel,heracek/django-nonrel,adieu/django-nonrel,heracek/django-nonrel,heracek/django-nonrel,adieu/django-nonrel