Django-model-utils

Latest version: v5.0.0

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

Scan your dependencies

Page 1 of 7

5.0.0

------------------
- Add formal support for `Django 5.1`
- Remove MonitorField deprecation warning. `None` - instead of
`django.utils.timezone.now` will be used when nullable and no default provided (GH-599)
- Add deprecation warning for MonitorField. The default value will be `None`
instead of `django.utils.timezone.now` - when nullable and without a default.
- Add Brazilian Portuguese translation (GH-578)
- Don't use `post_init` signal for initialize tracker
- Make `contribute_to_class()` in `StatusField`, `MonitorField` and `SplitField`
forward additional arguments to Django
- `SplitField` no longer accepts `no_excerpt_field` as a keyword argument
- Make `soft` argument to `SoftDeletableModel.delete()` keyword-only
- `JoinManager` and `JoinManagerMixin` have been deprecated;
please use ``JoinQueryset.as_manager()`` instead
- Change `SoftDeletableQuerySetMixin.delete` to replicate Django's API.

4.5.1

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

- Remove `JoinQueryset.get_quoted_query()` by mthuurne (GH-618)

4.5.0

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

- Don't use `post_init` signal for initialize tracker by meanmail in - (GH-556)
- clarify docs for managers of SoftDeletableModel by tadamcz in - (GH-589)
- [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in - (GH-575)
- `Language Support` - Add translations for Brazilian Portuguese by gmcrocetti in - (GH-578)
- Remove dead `init_deferred_fields` method by joecox in - (GH-580)
- Update where `ConnectionDoesNotExist` is imported from by mthuurne in - (GH-566)
- Remove arguments from `InheritanceQuerySetMixin._clone()` by mthuurne in - (GH-567)
- Allow running tests using sqlite by jayvdb in - (GH-516)
- `MonitorField` - Change default to None when the field is nullable by gmcrocetti in - (GH-577)
- Explicitly re-export names from `__init__` module by mthuurne in - (GH-591)
- Switch from freezegun to time-machine. by adamchainz in - (GH-510)
- USE_TZ = True by foarsitter in - (GH-593)
- Remove redundant definition of `JoinManager` from tests by mthuurne in - (GH-594)
- Pass reason to `skip` decorator by mthuurne in - (GH-595)
- Resolve name clash among test models by mthuurne in - (GH-596)
- Remove obsolete `tests.signals` module by mthuurne in - (GH-597)
- Remove obsolete test models by mthuurne in - (GH-598)
- Postgresql docker container for local development by foarsitter in - (GH-563)
- [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in - (GH-602)
- Add issue-manager by foarsitter in - (GH-600)
- Translation files by foarsitter in - (GH-608)

4.4.0

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

- Add support for `Python 3.11` (GH-545)
- Add support for `Python 3.12` (GH-545)
- Drop support for `Python 3.7` (GH-545)
- Add support for `Django 4.2`
- Add support for `Django 5.0`
- 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.
- Add Swedish translation
- Use proper column name instead of attname (GH-573)
- Fix ValueError when calling prefetch_related for tracked ForeignKey fields

4.3.1

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

- Confirm support for `Django 4.0`
- Add Spanish translation
- Add French translation
- Drop Django 1.7 workaround from `select_subclasses()`
- Drop support for `Django < 3.2`
- Drop support for `Python 3.6`
- Confirm support for `Django 4.1`

4.3.0

-----

- Never released due to packaging issues.

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.