diff options
| author | Baptiste Mispelon <bmispelon@gmail.com> | 2021-12-10 12:22:23 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-04-06 07:58:52 +0200 |
| commit | 50e1e7ef8ef63271717f8bcab76d7151ccf4bb18 (patch) | |
| tree | 888beb2bff18679025536e574a0bc02a53f9d552 /docs/internals | |
| parent | 1a7d75cf77639e450854d9bcf9518664f755eb04 (diff) | |
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.
Diffstat (limited to 'docs/internals')
| -rw-r--r-- | docs/internals/deprecation.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index ab147725c1..eb6d7f7b2f 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -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 |
