#8101: Admin boolean filter
--------------------------------------+-------------------------------------
          Reporter:  Alexander        |         Owner:  mtredinnick       
            Status:  new              |     Milestone:  1.0               
         Component:  Admin interface  |       Version:  SVN               
        Resolution:                   |      Keywords:  bool filter string
             Stage:  Accepted         |     Has_patch:  1                 
        Needs_docs:  0                |   Needs_tests:  1                 
Needs_better_patch:  1                |  
--------------------------------------+-------------------------------------
Comment (by mtredinnick):

 Turns out we shouldn't really use `to_python()` in the call there; it
 allows too much stuff and `to_python()` has a different goals (e.g.
 deserialization). That discrepancy will probably be sorted out with model-
 aware validation, since that requires normalisation as well. For now, I've
 written a `get_db_prep_lookup()` method that does the right thing in these
 cases.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/8101#comment:9>
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