From 6c1b55d61a3b2c5e401bf63c1c65d569217a130b Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sun, 3 Nov 2013 01:52:40 -0700 Subject: [PATCH] Re-expose Count here --- django/contrib/gis/db/models/sql/aggregates.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/django/contrib/gis/db/models/sql/aggregates.py b/django/contrib/gis/db/models/sql/aggregates.py index f8f3ed1eb45..5a2e5d07bef 100644 --- a/django/contrib/gis/db/models/sql/aggregates.py +++ b/django/contrib/gis/db/models/sql/aggregates.py @@ -1,7 +1,9 @@ -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)'