Skip to content

Commit

Permalink
Mention the contextvars dependency in the CHANGELOG
Browse files Browse the repository at this point in the history
Fixes #23.
  • Loading branch information
matthiask committed Aug 5, 2020
1 parent 3383755 commit f8e4bc4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ Change log

- Changed the ``verbose_name`` of fields generated by
``TranslatedField`` to return the language_code when inside a
``with translated_fields.show_language_code(True):`` block.
``with translated_fields.show_language_code(True):`` block. This
change introduces a dependency on `contextvars
<https://docs.python.org/3/library/contextvars.html>`__ which is
automatically installed from `PyPI
<https://pypi.org/project/contextvars/>`__ in Python<3.7.
- Completely overhauled ``TranslatedFieldAdmin`` to take advantage of
``show_language_code``, making it possible to use translated fields
together with ``list_display_links``, ``list_editable``,
Expand Down

0 comments on commit f8e4bc4

Please sign in to comment.