mirror of
https://github.com/django/django.git
synced 2025-12-23 09:19:27 +00:00
Replaced some dicts with sets.
This commit is contained in:
parent
5ac7f777cd
commit
df3d7e66da
3 changed files with 4 additions and 4 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue