mirror of
https://github.com/django/django.git
synced 2025-09-21 09:49:53 +00:00
Removed some outdated backwards compatibility imports and misleading comments.
EmptyResultSet moved in46509cf13d
. FieldDoesNotExist moved in8958170755
. BoundField and pretty_name moved in8550161e53
. EMPTY_VALUES moved in471596fc1a
. BaseRunserverCommand moved in5c53e30607
.
This commit is contained in:
parent
aad46ee274
commit
129583a0d3
14 changed files with 32 additions and 38 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue