Fixed #4945 -- Removed unused `GET_ITERATOR_CHUNK_SIZE` definition from manager.py. `GET_ITERATOR_CHUNK_SIZE` is already defined in query.py. Thanks zigiDev@mac.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5743 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
f2303b6f7a
commit
bac6a2f88e
|
@ -3,10 +3,6 @@ from django.dispatch import dispatcher
|
||||||
from django.db.models import signals
|
from django.db.models import signals
|
||||||
from django.db.models.fields import FieldDoesNotExist
|
from django.db.models.fields import FieldDoesNotExist
|
||||||
|
|
||||||
# Size of each "chunk" for get_iterator calls.
|
|
||||||
# Larger values are slightly faster at the expense of more storage space.
|
|
||||||
GET_ITERATOR_CHUNK_SIZE = 100
|
|
||||||
|
|
||||||
def ensure_default_manager(sender):
|
def ensure_default_manager(sender):
|
||||||
cls = sender
|
cls = sender
|
||||||
if not hasattr(cls, '_default_manager'):
|
if not hasattr(cls, '_default_manager'):
|
||||||
|
|
Loading…
Reference in New Issue