mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #33724 -- Doc'd exclude argument changes in model validation.
Thanks אורי for the report.
Follow up to 1ea7e3157d.
This commit is contained in:
@@ -561,6 +561,12 @@ 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
|
||||
``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`
|
||||
methods.
|
||||
|
||||
.. _deprecated-features-4.1:
|
||||
|
||||
Features deprecated in 4.1
|
||||
|
||||
Reference in New Issue
Block a user