1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #28507 -- Made ValidationError.__eq__() ignore messages and params ordering.

Co-authored-by: caleb logan <clogan202@gmail.com>
This commit is contained in:
David Smith
2020-07-21 20:05:33 +01:00
committed by Mariusz Felisiak
parent 16218c2060
commit 95da207bdb
3 changed files with 292 additions and 0 deletions

View File

@@ -341,6 +341,9 @@ Validators
of a raised :exc:`~django.core.exceptions.ValidationError`. This allows
custom error messages to use the ``%(value)s`` placeholder.
* The :class:`.ValidationError` equality operator now ignores ``messages`` and
``params`` ordering.
.. _backwards-incompatible-3.2:
Backwards incompatible changes in 3.2