Add DB API support for lookup against IP address fields
|Reported by:||kirk.reeves@…||Owned by:||nobody|
|Component:||Database layer (models, ORM)||Version:|
|Cc:||Triage Stage:||Design decision needed|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Description (last modified by jacob)
please add an additional key word for querysets when searching with the inet datatype..
and example would be
assume a table constructed as follows.
create table network_interfaces(
--The SQL Syntax ---
SELECT * from network_interface where ip << '10.210.0.0/16';
--possible Django syntax ---
Thanks. Django is a great project.
Change History (7)
comment:2 Changed 10 years ago by adrian
- Summary changed from additional database api to Add DB API support for lookup against IP address fields
comment:3 Changed 10 years ago by mir@…
- Triage Stage changed from Unreviewed to Design decision needed
comment:6 Changed 6 years ago by mtredinnick
- Resolution set to wontfix
- Status changed from new to closed