Django-model-utils

Latest version: v4.4.0

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

Scan your dependencies

Page 1 of 2

4.4.0

What's Changed
* Add support for Python 3.11 (https://github.com/jazzband/django-model-utils/pull/545)
* Add support for Python 3.12 (https://github.com/jazzband/django-model-utils/pull/545)
* Add support for Django 4.2 (https://github.com/jazzband/django-model-utils/pull/562)
* Add support for Django 5.0 (https://github.com/jazzband/django-model-utils/pull/583)
* Remove SaveSignalHandlingModel. This model used a modified copy of the internal Django method Model.save_base() and had not been updated for upstream bug fixes changes since its addition. (https://github.com/jazzband/django-model-utils/pull/582)
* Drop support for Python 3.7 (https://github.com/jazzband/django-model-utils/pull/545)
* Swedish translation (https://github.com/jazzband/django-model-utils/pull/561)
* Use proper column name instead of attname (https://github.com/jazzband/django-model-utils/pull/573)
* Fix ValueError when calling prefetch_related for tracked ForeignKey fields (Fixes https://github.com/jazzband/django-model-utils/pull/433)

**Full Changelog**: https://github.com/jazzband/django-model-utils/compare/4.3.1...4.4.0

4.3.1

- Confirm support for Django 4.0 (https://github.com/jazzband/django-model-utils/pull/513)
- Add Spanish translation (https://github.com/jazzband/django-model-utils/pull/425)
- Add French translation (https://github.com/jazzband/django-model-utils/pull/473)
- Drop Django 1.7 workaround from select_subclasses() (https://github.com/jazzband/django-model-utils/pull/524)
- Drop support for Django < 3.2 (https://github.com/jazzband/django-model-utils/pull/532)
- Drop support for Python 3.6 (https://github.com/jazzband/django-model-utils/pull/532)
- Confirm support for Django 4.1 (https://github.com/jazzband/django-model-utils/pull/532)

4.2.0

* Add support for Django 3.2
* Drop support for Django 3.0
* Add support for Python 3.10
* Added urlsafe token field.
* Introduce context manager for FieldTracker state reset (GH-491)
* Fix performance regression of FieldTracker on FileField subclasses on Django 3.1+ (GH-498)

4.1.1

- Applied `isort` to codebase (Refs GH-402)
- Fix `TypeError` in save when model inherits from both TimeStampModel
and StatusModel. (Fixes GH-465)

4.1.0

- Update InheritanceQuerySetMixin to avoid querying too much tables
- TimeStampedModel now automatically adds 'modified' field as an update_fields
parameter even if it is forgotten while using save()
- `FieldTracker` now marks fields as not changed after `refresh_from_db`
- `FieldTracker` now respects `update_fields` changed in overridden `save()`
method
- Replace ugettext_lazy with gettext_lazy to satisfy Django deprecation warning
- Add available_objects manager to SoftDeletableModel and add deprecation
warning to objects manager.
- StatusModel now automatically adds 'status_changed' field during save as an
update_fieldsparameter when 'status' is present in it to make sure it is not
forgotten.
- Update test requirements
- Move tests to GitHub Actions: https://github.com/jazzband/django-model-utils/actions
- Drop support for `Django 2.1`
- Add support for `Python 3.9`
- Add support for `Django 3.1`

4.0.0

- Remove hacks for previously supported Django versions. (Fixes GH-390)
- Dropped support for Python 2.7. (Fixes GH-393)
- Dropped usage of `six`
- Drop support for `Django 1.11`
- Add support for `Python 3.8`
- Add support for `Django 3.0`

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.