Removed some outdated backwards compatibility imports and misleading comments.

EmptyResultSet moved in 46509cf13d.
FieldDoesNotExist moved in 8958170755.
BoundField and pretty_name moved in 8550161e53.
EMPTY_VALUES moved in 471596fc1a.
BaseRunserverCommand moved in 5c53e30607.
This commit is contained in:
Mads Jensen 2019-07-18 08:13:01 +02:00 committed by Mariusz Felisiak
parent aad46ee274
commit 129583a0d3
14 changed files with 32 additions and 38 deletions

View file

@ -34,9 +34,6 @@ MAX_GET_RESULTS = 21
# The maximum number of items to display in a QuerySet.__repr__
REPR_OUTPUT_SIZE = 20
# Pull into this namespace for backwards compatibility.
EmptyResultSet = sql.EmptyResultSet
class BaseIterable:
def __init__(self, queryset, chunked_fetch=False, chunk_size=GET_ITERATOR_CHUNK_SIZE):