#15497: BooleanField should work for all PostgreSQL expressions
-------------------------------------+-------------------------------------
               Reporter:  lsaffre    |        Owner:  nobody
                 Status:  new        |    Milestone:
              Component:  Database   |      Version:  SVN
  layer (models, ORM)                |     Keywords:
             Resolution:             |    Has patch:  1
           Triage Stage:  Accepted   |  Needs tests:  1
    Needs documentation:  0          |
Patch needs improvement:  0          |
-------------------------------------+-------------------------------------

Comment (by lsaffre):

 Aha, `to_python` is only for parsing SQL expressions, not as a general-
 purpose parser.
 Yes that sounds good. Maybe change the sentence
 [[BR]]"Converts the input value into the expected Python data type"
 of the docstring into
 [[BR]]"Converts the input value (an SQL expression) into the expected
 Python data type".

 And I change the summary of this ticket to "BooleanField should work for
 all PostgreSQL expressions".

-- 
Ticket URL: <http://code.djangoproject.com/ticket/15497#comment:5>
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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to