Changes between Initial Version and Version 1 of Ticket #16468, comment 6
- Timestamp:
- Jul 15, 2011, 11:42:45 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #16468, comment 6
initial v1 2 2 > 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()? 3 3 4 AFAI X, 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`.4 AFAIK, 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`.