1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

Updated release notes for Django 4.1 release.

This commit is contained in:
Carlton Gibson 2022-08-03 10:26:00 +02:00
parent 57c7220280
commit a4cb1dae63

View File

@ -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``. Its 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`