mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
[1.8.x] Fixed #14483 -- Allowed using subqueries with GIS lookups
Backport of a0b5f15ea5 from master.
This commit is contained in:
@@ -216,6 +216,9 @@ Minor features
|
||||
* A new :doc:`GeoJSON serializer </ref/contrib/gis/serializers>` is now
|
||||
available.
|
||||
|
||||
* It is now allowed to include a subquery as a geographic lookup argument, for
|
||||
example ``City.objects.filter(point__within=Country.objects.filter(continent='Africa').values('mpoly'))``.
|
||||
|
||||
* The Spatialite backend now supports ``Collect`` and ``Extent`` aggregates
|
||||
when the database version is 3.0 or later.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user