Opened 10 years ago
Closed 10 years ago
#25448 closed Cleanup/optimization (fixed)
Ease creation of custom GIS lookups
| Reported by: | Claude Paroz | Owned by: | nobody |
|---|---|---|---|
| Component: | GIS | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | 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
Following the use case described in #25446, the current GISLookup class is missing a small change to allow an easy definition of custom lookups.
I plan to offer a patch soon.
Change History (4)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
| Has patch: | set |
|---|
comment:3 by , 10 years ago
| Triage Stage: | Accepted → Ready for checkin |
|---|
Note:
See TracTickets
for help on using tickets.
Planned feature (to be tested):
django/contrib/gis/db/models/lookups.py
connection.ops.gis_operators[self.lookup_name]