diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-07-22 04:49:32 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-07-22 04:49:32 +0000 |
| commit | 6ef47cfe5fe728bcc0290543eccd87e63c11d6a1 (patch) | |
| tree | f1132d3ae13c3574872968b06d3fd73f74a3fcb4 /tests/regressiontests/admin_scripts | |
| parent | c51d000c37ce87ee6c9162d639768d6134719ff4 (diff) | |
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
Diffstat (limited to 'tests/regressiontests/admin_scripts')
0 files changed, 0 insertions, 0 deletions
