Opened 6 years ago
Last modified 5 years ago
#29916 closed New feature
Add additional Postgres lookups to gain parity with supported range functions in Postgres — at Initial Version
Reported by: | Peter J. Farrell | Owned by: | |
---|---|---|---|
Component: | contrib.postgres | Version: | dev |
Severity: | Normal | Keywords: | lower_inf, upper_inf, lower_inc, upper_inc |
Cc: | Sergey Fedoseev, Srinivas Reddy Thatiparthy | Triage Stage: | Ready for checkin |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Add support for following functions for Postgres range fields that are currently not supported in Django:
isempty
lower_inc
upper_inc
lower_inf
upper_inf
Example code: https://gist.github.com/peterfarrell/5c7b8d80319563813caba6320b568829
These can all be implemented as new ORM lookups for the Postgres range type fields so the Django ORM can gain parity with functionality available in Postgres range fields.
Note:
See TracTickets
for help on using tickets.