1
0
mirror of https://github.com/django/django.git synced 2025-02-04 22:47:53 +00:00

Re-expose Count here

This commit is contained in:
Alex Gaynor 2013-11-03 01:52:40 -07:00
parent 881851f3bb
commit 6c1b55d61a

View File

@ -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)'