python-django-model-utils
Subpackage Descriptions
single |
==================
django-model-utils
==================
:alt: Jazzband
:alt: Supported Python versions
:alt: Supported Django versions
Django model mixins and utilities.
``django-model-utils`` supports `Django`_ 3.2+.
.. _Django: https://www.djangoproject.com/
This app is available on `PyPI`_.
.. _PyPI: https://pypi.python.org/pypi/django-model-utils/
Getting Help
============
Documentation for django-model-utils is available
https://django-model-utils.readthedocs.io/
Contributing
============
Please file bugs and send pull requests to the `GitHub repository`_ and
`issue
tracker`_. See `CONTRIBUTING.rst`_ for details.
.. _GitHub repository: https://github.com/jazzband/django-model-utils/
.. _issue tracker: https://github.com/jazzband/django-model-utils/issues
.. _CONTRIBUTING.rst:
https://github.com/jazzband/django-model-utils/blob/master/CONTRIBUTING.rst
Changelog
=========
5.0.0 (2024-09-01)
------------------
- 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 (2024-05-02)
------------------
- Remove `JoinQueryset.get_quoted_query()` by @mthuurne (GH-#618)
4.5.0 (2024-04-01)
------------------
- 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 (2024-02-10)
|
Configuration Switches (platform-specific settings discarded)
PY312 OFF Build using Python 3.12
PY313 ON Build using Python 3.13
Package Dependencies by Type
Download groups
main |
mirror://PYPIWHL/fd/13/87a42048700c54bfce35900a34e2031245132775fb24363fc0e33664aa9c |
Distribution File Information
fec78e6c323d565a221f7c4edc703f4567d7bb1caeafe1acd16a80c5ff82056b 42630 python-src/django_model_utils-5.0.0-py3-none-any.whl
Ports that require python-django-model-utils:v13
No other ports depend on this one. |