Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Re-expose Count here

  • Loading branch information...
commit 6c1b55d61a3b2c5e401bf63c1c65d569217a130b 1 parent 881851f
Alex Gaynor authored
4  django/contrib/gis/db/models/sql/aggregates.py
... ...
@@ -1,7 +1,9 @@
1  
-from django.db.models.sql.aggregates import Aggregate
  1
+from django.db.models.sql.aggregates import Aggregate, Count
2 2
 from django.contrib.gis.db.models.fields import GeometryField
3 3
 
4 4
 
  5
+__all__ = ['Count', 'Collect', 'Extent', 'Extent3D', 'MakeLine', 'Union']
  6
+
5 7
 class GeoAggregate(Aggregate):
6 8
     # Default SQL template for spatial aggregates.
7 9
     sql_template = '%(function)s(%(field)s)'

0 notes on commit 6c1b55d

Please sign in to comment.
Something went wrong with that request. Please try again.