1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Replaced some dicts with sets.

This commit is contained in:
Alex Gaynor
2013-07-08 09:48:12 +10:00
parent 5ac7f777cd
commit df3d7e66da
3 changed files with 4 additions and 4 deletions

View File

@@ -78,7 +78,7 @@ class OracleOperations(DatabaseOperations, BaseSpatialOperations):
name = 'oracle'
oracle = True
valid_aggregates = dict([(a, None) for a in ('Union', 'Extent')])
valid_aggregates = {'Union', 'Extent'}
Adapter = OracleSpatialAdapter
Adaptor = Adapter # Backwards-compatibility alias.