From 550b6195edf547ca821f578341a78d68d4121551 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Tue, 9 Jul 2013 19:44:57 +0200 Subject: [PATCH] Made an aggregate test pass with spatialite backend backends.tests.SqliteAggregationTests was failing with spatialite. --- django/contrib/gis/db/backends/spatialite/operations.py | 1 + 1 file changed, 1 insertion(+) diff --git a/django/contrib/gis/db/backends/spatialite/operations.py b/django/contrib/gis/db/backends/spatialite/operations.py index 9037240e642..3cb2004dfd5 100644 --- a/django/contrib/gis/db/backends/spatialite/operations.py +++ b/django/contrib/gis/db/backends/spatialite/operations.py @@ -169,6 +169,7 @@ class SpatiaLiteOperations(DatabaseOperations, BaseSpatialOperations): Checks if the given aggregate name is supported (that is, if it's in `self.valid_aggregates`). """ + super(SpatiaLiteOperations, self).check_aggregate_support(aggregate) agg_name = aggregate.__class__.__name__ return agg_name in self.valid_aggregates