Permalink
Browse files

Re-expose Count here

  • Loading branch information...
1 parent 881851f commit 6c1b55d61a3b2c5e401bf63c1c65d569217a130b @alex alex committed Nov 3, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 django/contrib/gis/db/models/sql/aggregates.py
View
4 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)'

0 comments on commit 6c1b55d

Please sign in to comment.