Commit 3a736c18 authored by Claude Paroz's avatar Claude Paroz Committed by Tim Graham
Browse files

[1.6.x] Made an aggregate test pass with spatialite backend

backends.tests.SqliteAggregationTests was failing with spatialite.

Backport of 550b6195 from master
parent 4c358df6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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