Opened 10 years ago

Closed 9 years ago

#24214 closed New feature (fixed)

Replace GeoQuerySet custom methods by Expressions/Functions

Reported by: Claude Paroz Owned by: Claude Paroz
Component: GIS Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: yes
Easy pickings: no UI/UX: no

Description

Despite being a little more verbose, the new Function API can/should be now leveraged to replace most if not all of GeoQuerySet custom methods. This will generally simplify the code of the Django GIS module. I'm currently working on this replacement.

My working branch (frequently rebased): https://github.com/claudep/django/tree/gis_functions

Change History (2)

comment:1 by Claude Paroz, 10 years ago

Has patch: set
Patch needs improvement: set

I made some good progress and was able to publish a first pull request: https://github.com/django/django/pull/4027

The good news is that we might be able to completely remove GeoQuerySet/GeoManager by Django 2.1!

I still need someone to work on porting the Oracle GIS backend...

comment:2 by Claude Paroz <claude@…>, 9 years ago

Resolution: fixed
Status: newclosed

In d9ff5ef:

Fixed #24214 -- Added GIS functions to replace geoqueryset's methods

Thanks Simon Charette and Tim Graham for the reviews.

Note: See TracTickets for help on using tickets.
Back to Top