diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2009-05-02 14:56:35 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2009-05-02 14:56:35 +0000 |
| commit | 6a21ada37e353a00dc694441fdc0bcf309f0cc4c (patch) | |
| tree | ff98630e153ef3f4baf46e14250df107e7d9daa9 /tests/regressiontests/context_processors | |
| parent | 5a089a5b0088149dbcebbbf9194d4acde476cb4e (diff) | |
Fixed #9609 -- Modified the clean method of(Null)Boolean field to accept '1' and '0' as valid inputs. Thanks to psagers for the patch.
This is required to support the use of non-default form widgets such as RadioSelect when the data comes from MySQL, which uses 1/0 to represent booleans.
Merge of r10660 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10662 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/context_processors')
0 files changed, 0 insertions, 0 deletions
