Ticket #4945: manager-patch.diff

File manager-patch.diff, 516 bytes (added by zigiDev@…, 17 years ago)

Patch

  • manager.py

     
    33from django.db.models import signals
    44from django.db.models.fields import FieldDoesNotExist
    55
    6 # Size of each "chunk" for get_iterator calls.
    7 # Larger values are slightly faster at the expense of more storage space.
    8 GET_ITERATOR_CHUNK_SIZE = 100
    9 
    106def ensure_default_manager(sender):
    117    cls = sender
    128    if not hasattr(cls, '_default_manager'):
Back to Top