#7190: BooleanField does not return <type: 'bool'>
---------------------------------------------+------------------------------
          Reporter:  Jeffrey Froman          |         Owner:  nobody           
 
            Status:  reopened                |     Milestone:                   
 
         Component:  Database wrapper        |       Version:  SVN              
 
        Resolution:                          |      Keywords:  BooleanField, 
type
             Stage:  Design decision needed  |     Has_patch:  1                
 
        Needs_docs:  1                       |   Needs_tests:  0                
 
Needs_better_patch:  0                       |  
---------------------------------------------+------------------------------
Changes (by stengleind):

  * status:  closed => reopened
  * needs_docs:  0 => 1
  * resolution:  wontfix =>

Comment:

 By the way, this killed some code of mine that depended on True being
 True.
 My functional test had an assertEqual(True, someBooleanField) and it
 silently
 broke when I switched backends from sqlite to MySQL.

 If it is not going to be fixed, it needs to be very clearly documented
 (which
 it is currently not).

 -Dave

-- 
Ticket URL: <http://code.djangoproject.com/ticket/7190#comment:12>
Django Code <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
-~----------~----~----~----~------~----~------~--~---

Reply via email to