| Age | Commit message (Collapse) | Author |
|
Backport of 017fa23d3b0aee9142f531c2a0002fc86c82a54c from main
|
|
CommandTests.test_requires_system_checks_specific().
System checks are never called without skip_checks=False. Moreover,
called_once_with() is not a proper assertion and raise AttributeError
on Python 3.12.
|
|
|
|
|
|
|
|
arguments is passed.
|
|
Command.requires_system_checks.
Per deprecation timeline.
|
|
3.9.7+.
Thanks Michał Górny for the report.
|
|
Python 3.10.0rc1 changed the error messages issued by argparse on
invalid choice to include the argument name. Update the expected test
output to account for that.
|
|
|
|
Thanks Mark Gajdosik for the report and initial patch.
|
|
proxies.
|
|
options.
|
|
required mutually exclusive group is passed in options.
|
|
Command.requires_system_checks.
|
|
Instead of capturing the command output and discard it immediately,
tell the command not to log.
|
|
|
|
proxies.
|
|
exclusive groups.
|
|
parameter.
|
|
|
|
Use tempfile.TemporaryDirectory() in AdminScriptTestCase.setUp()
to create and destroy a temporary directory for each test. It removes
the need for individual tests to delete files.
For test classes that don't use the temporary directory, inherit from
SimpleTestCase.
|
|
|
|
|
|
|
|
management commands.
|
|
This partially reverts c3055242c81812278ebdc93dd109f30d2cbd1610.
Thanks Adam Johnson and Carlton Gibson for the reviews.
|
|
--pythonpath management command options.
|
|
|
|
Thanks Tim Graham for the fix.
|
|
options.
|
|
|
|
|
|
|
|
These functions do nothing on Python 3.
|
|
Thanks Tim Graham for the review.
|
|
|
|
|
|
|
|
|
|
Thanks Tim Graham for the review.
|
|
|
|
|
|
|
|
Thanks Tim Graham for the review.
|
|
Thanks KS Chan for the report and Tim Graham for the review.
|
|
deprecation timeline.
|
|
Forwardport of ae1d663b7913f6da233c55409c4973248372d302
from stable/1.8.x plus more.
|
|
This is a performance optimization and also fixes test errors with the
upcoming merge of contrib tests into tests/. The tests failed on MySQL
because the models with GeometryField were being checked but the
non-GIS MySQL backend didn't know how to handle them.
|
|
|