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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user