~~~~~~~~~~~~~~~~~~~~
.. _0.12: https://github.com/matthiask/django-translated-fields/compare/0.11...0.12
- **BACKWARDS INCOMPATIBLE:** Made the ``field`` keyword argument to the
attrgetter and attrsetter functions mandatory. django-translated-fields
raised a deprecation warning if an attrgetter or attrsetter didn't support it
since 0.8 (released in 2019) so this shouldn't be a problem for anyone,
hopefully.
- Made ``language_code_formfield_callback`` preserve the lazyness of the
underlying ``verbose_name``.
- Stopped overwriting language-specific ``verbose_name`` values.
- Made ``translated_attributes`` fall back to the first entry in
``settings.LANGUAGES`` when no language is active. This previously just
crashed with an ``AttributeError`` (but not caused by non-existant attributes
on the model instance, but caused by the fact that the getter didn't receive
a ``TranslatedField`` instance)
- Added Python 3.10, Django 4.0 to the CI.
- Dropped Python < 3.8, Django < 3.2.
- Added pre-commit.