| Age | Commit message (Collapse) | Author |
|
|
|
Manually reformatted some comments and docstrings where autofix_w505.py
changed the meaning of the formatting.
|
|
Rewrapped long docstrings and block comments to 79 characters + newline
using script from https://github.com/medmunds/autofix-w505.
|
|
|
|
Thanks Natalia Bidart for the review.
|
|
Added a local helper to test assertion messages with and without a given
msg_prefix.
|
|
|
|
https://github.com/psf/black/releases/tag/24.1.0
|
|
classes.
|
|
error messages.
|
|
in assertRedirects().
Bug in 67da22f08e05018ea968fcacbac9ac37ea925d85.
|
|
and tests.
|
|
to test_utils.
This also removes redundant tests in test_client_regress.
Follow up to 68144f40490b2572c8da4341742b9e387e3f6bdd.
|
|
SimpleTestCase.assertFormError()/assertFormsetErrors().
This makes messages use BaseFormSet/BaseForm.__repr__() instead of
context, and adds the _assert_form_error() helper.
|
|
|
|
|
|
|
|
|
|
The method has been available since Python 3.6. The shorter syntax is
also marginally faster.
|
|
|
|
django.test.Client in assertRedirects().
Co-Authored-By: Hasan Ramezani <hasan.r67@gmail.com>
|
|
|
|
|
|
|
|
|
|
types.
|
|
|
|
Regression in b8a41a2872624a6d9e61308932dd81d001e31eb9.
|
|
instead of "(actual errors: )".
|
|
Using JSON as non-UTF-8 content is controversial, and the RFC 7159
discourages it.
Thanks Tim Graham for the review.
|
|
A JSON Content-Type can contain further content, like charset for example.
|
|
|
|
|
|
Thanks Tim Graham for the review.
|
|
|
|
|
|
|
|
|
|
These functions do nothing on Python 3.
|
|
|
|
Thanks Tim Graham for the review.
|
|
|
|
Per deprecation timeline.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|