mirror of
https://github.com/django/django.git
synced 2024-12-01 15:42:04 +01:00
Made an aggregate test pass with spatialite backend
backends.tests.SqliteAggregationTests was failing with spatialite.
This commit is contained in:
parent
3c736207a3
commit
550b6195ed
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user