Changes between Initial Version and Version 1 of Ticket #16468, comment 6


Ignore:
Timestamp:
Jul 15, 2011, 11:42:45 AM (13 years ago)
Author:
Aymeric Augustin

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16468, comment 6

    initial v1  
    22> Would it really be that hard to make a way to specify types when querying fields? Django knows not to cast integers to strings when querying an integer field, so if it is querying against a IPAddressField then just wrap the data in Host()?
    33
    4 AFAIX, that depends on the type of the data you pass, not the type of the target field, and `type("192.168.1.1/28") == str`.
     4AFAIK, that depends on the type of the data you pass, not the type of the target field, and `type("192.168.1.1/28") == str`.
Back to Top