Loading django/contrib/gis/db/models/sql/aggregates.py +3 −1 Original line number Diff line number Diff line from django.db.models.sql.aggregates import Aggregate from django.db.models.sql.aggregates import Aggregate, Count from django.contrib.gis.db.models.fields import GeometryField __all__ = ['Count', 'Collect', 'Extent', 'Extent3D', 'MakeLine', 'Union'] class GeoAggregate(Aggregate): # Default SQL template for spatial aggregates. sql_template = '%(function)s(%(field)s)' Loading Loading
django/contrib/gis/db/models/sql/aggregates.py +3 −1 Original line number Diff line number Diff line from django.db.models.sql.aggregates import Aggregate from django.db.models.sql.aggregates import Aggregate, Count from django.contrib.gis.db.models.fields import GeometryField __all__ = ['Count', 'Collect', 'Extent', 'Extent3D', 'MakeLine', 'Union'] class GeoAggregate(Aggregate): # Default SQL template for spatial aggregates. sql_template = '%(function)s(%(field)s)' Loading