Django-model-utils

Latest version: v4.5.1

Safety actively analyzes 626071 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 7

2.6.1

------------------

- Fix infinite recursion with multiple `MonitorField` and `defer()` or `only()`
on Django 1.10+. Thanks Romain Garrigues. Merge of GH-242, fixes GH-241.

- Fix `InheritanceManager` and `SoftDeletableManager` to respect
`self._queryset_class` instead of hardcoding the queryset class. Merge of
GH-250, fixes GH-249.

- Add mixins for `SoftDeletableQuerySet` and `SoftDeletableManager`, as stated
in the the documentation.

- Fix `SoftDeletableModel.delete()` to use the correct database connection.
Merge of GH-239.

- Added boolean keyword argument `soft` to `SoftDeletableModel.delete()` that
revert to default behavior when set to `False`. Merge of GH-240.

- Enforced default manager in `StatusModel` to avoid manager order issues when
using abstract models that redefine `objects` manager. Merge of GH-253, fixes
GH-251.

2.6

----------------

- Added `SoftDeletableModel` abstract class, its manageer
`SoftDeletableManager` and queryset `SoftDeletableQuerySet`.

- Fix issue with field tracker and deferred FileField for Django 1.10.

2.5.2

------------------

- Include `runtests.py` in sdist.

2.5.1

------------------

- Fix `InheritanceQuerySet` raising an `AttributeError` exception
under Django 1.9.

- Django 1.10 support regressed with changes between pre-alpha and final
release; 1.10 currently not supported.

2.5

----------------

- Drop support for Python 3.2.

- Add support for Django 1.10 pre-alpha.

- Track foreign keys on parent models properly when a tracker
is defined on a child model. Fixes GH-214.

2.4

----------------

- Remove `PassThroughManager`. Use Django's built-in `QuerySet.as_manager()`
and/or `Manager.from_queryset()` utilities instead.

- Add support for Django 1.9.

Page 3 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.