diff options
| author | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2018-02-05 08:42:47 -0800 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-02-05 11:42:47 -0500 |
| commit | aba9763b5117494ca1ef1e420397e3845ad5b262 (patch) | |
| tree | ba50450142a5aac612e56ae50d73fdfea997ee37 /django/db/models/sql | |
| parent | 8b21878357364a461bae711c4d0011a8f338b160 (diff) | |
Refs #28814 -- Imported from collections.abc to fix Python 3.7 deprecation warnings.
https://bugs.python.org/issue25988
Diffstat (limited to 'django/db/models/sql')
| -rw-r--r-- | django/db/models/sql/query.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/django/db/models/sql/query.py b/django/db/models/sql/query.py index b35b42f943..c8b557103f 100644 --- a/django/db/models/sql/query.py +++ b/django/db/models/sql/query.py @@ -6,7 +6,8 @@ themselves do not have to (and could be backed by things other than SQL databases). The abstraction barrier only works one way: this module has to know all about the internals of models in order to get the information it needs. """ -from collections import Counter, Iterator, Mapping, OrderedDict, namedtuple +from collections import Counter, OrderedDict, namedtuple +from collections.abc import Iterator, Mapping from itertools import chain, count, product from string import ascii_uppercase |
