mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #33348 -- Changed SimpleTestCase.assertFormError()/assertFormsetErrors() to take form/formset.
Instead of taking a response object and a context name for the form/formset, the two methods now take the object directly.
This commit is contained in:
committed by
Mariusz Felisiak
parent
1a7d75cf77
commit
50e1e7ef8e
@@ -97,6 +97,10 @@ details on these changes.
|
||||
* The ``django.utils.timezone.utc`` alias to ``datetime.timezone.utc`` will be
|
||||
removed.
|
||||
|
||||
* Passing a response object and a form/formset name to
|
||||
``SimpleTestCase.assertFormError()`` and ``assertFormsetError()`` will no
|
||||
longer be allowed.
|
||||
|
||||
.. _deprecation-removed-in-4.1:
|
||||
|
||||
4.1
|
||||
|
||||
Reference in New Issue
Block a user