mirror of
https://github.com/Hopiu/django-model-utils.git
synced 2026-03-17 04:10:24 +00:00
Django starting with 1.9 switched to using a class to provide an iterator for the querymanager. Between 1.9 and 1.10 changes slowly stopped referencing that function and instead started calling _iterator_class directly. As the functionality model-utils is patching has moved, this patch moves the iterator logic to a class to match the changes that have been made in Django in version 1.9. As Django 1.8 is a LTS release that is still supported, iterator() is retained in the InheritanceQuerySetMixin and can be removed when support for Django 1.8 is removed. This goes for the try-except in the import statements as well. |
||
|---|---|---|
| .. | ||
| locale/de/LC_MESSAGES | ||
| __init__.py | ||
| choices.py | ||
| fields.py | ||
| managers.py | ||
| models.py | ||
| tracker.py | ||