diff options
| author | Carlton Gibson <carlton.gibson@noumenal.es> | 2022-08-03 10:26:00 +0200 |
|---|---|---|
| committer | Carlton Gibson <carlton.gibson@noumenal.es> | 2022-08-03 10:26:53 +0200 |
| commit | 6cd2f97a4f9fee72cf8472983fa344a73fad1c75 (patch) | |
| tree | 9155bb32f827d052ffeed17f717c75950bc1df88 | |
| parent | c721b569a23bd4bacacd670531d7401e54118df4 (diff) | |
[4.1.x] Updated release notes for Django 4.1 release.
Backport of a4cb1dae6362d473116bb8c8fd97df89bfe036f8 from main
| -rw-r--r-- | docs/releases/4.1.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/releases/4.1.txt b/docs/releases/4.1.txt index e8cd11349b..cf0107cfbe 100644 --- a/docs/releases/4.1.txt +++ b/docs/releases/4.1.txt @@ -1,8 +1,8 @@ -============================================ -Django 4.1 release notes - UNDER DEVELOPMENT -============================================ +======================== +Django 4.1 release notes +======================== -*Expected August 2022* +*August 3, 2022* Welcome to Django 4.1! @@ -388,8 +388,8 @@ Signals Templates ~~~~~~~~~ -* :tfilter:`json_script` template filter now allows wrapping in a ``<script>`` - tag without the HTML ``id`` attribute. +* The HTML ``<script>`` element ``id`` attribute is no longer required when + wrapping the :tfilter:`json_script` template filter. * The :class:`cached template loader <django.template.loaders.cached.Loader>` is now enabled in development, when :setting:`DEBUG` is ``True``, and @@ -579,7 +579,7 @@ Miscellaneous ``URLResolver._callback_strs``, and ``URLPattern.lookup_str()`` are moved to ``django.contrib.admindocs.utils``. -* The :meth:`.Model.full_clean` method now converts an ``exclude`` value to the +* The :meth:`.Model.full_clean` method now converts an ``exclude`` value to a ``set``. It’s also preferable to pass an ``exclude`` value as a ``set`` to the :meth:`.Model.clean_fields`, :meth:`.Model.full_clean`, :meth:`.Model.validate_unique`, and :meth:`.Model.validate_constraints` |
