Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Re-expose Count here

  • Loading branch information...
commit 6c1b55d61a3b2c5e401bf63c1c65d569217a130b 1 parent 881851f
@alex alex authored
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)'
Please sign in to comment.
Something went wrong with that request. Please try again.