#11303: changed_data wrong work with BooleanField
-------------------------------+--------------------------------------------
Reporter: oduvan | Owner: nobody
Status: new | Milestone:
Component: Forms | Version: 1.1-beta-1
Resolution: | Keywords:
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-------------------------------+--------------------------------------------
Changes (by punteney):
* needs_better_patch: 1 => 0
* needs_tests: 1 => 0
Comment:
Updated the patch to do the fix at the CheckBoxInput widget _has_changed
function level as it was a problem with the string 'False" being evaluated
as a boolean and returning as True. Also added a test to check for this
issue
--
Ticket URL: <http://code.djangoproject.com/ticket/11303#comment:7>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---