| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-09-06 | Fixed #30763 -- Fixed management commands when using required mutually ↵ | Hasan Ramezani | |
| exclusive groups. | |||
| 2019-06-28 | Fixed #30584 -- Fixed management command when using subparsers with dest ↵ | Hasan Ramezani | |
| parameter. | |||
| 2019-04-30 | Fixed #30418 -- Added --skip-checks management command option. | Jon Dufresne | |
| 2019-02-05 | Simplified temporary directory handling in AdminScriptTestCase. | Jon Dufresne | |
| 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. | |||
| 2019-01-28 | Refs #29973 -- Extracted helper functions from makemessages. | rsiemens | |
| 2018-12-31 | Updated test URL patterns to use path() and re_path(). | Tim Graham | |
| 2018-09-11 | Fixed #29560 -- Added --force-color management command option. | Hasan Ramezani | |
| 2018-08-05 | Added test for django.core.management.utils.get_random_secret_key(). | Hasan Ramezani | |
| 2018-07-02 | Removed parser.add_arguments() arguments that match the defaults. | Claude Paroz | |
| 2018-06-16 | Fixed #29152 -- Allowed passing kwargs to ArgumentParser initialization in ↵ | humbertotm | |
| management commands. | |||
| 2018-06-06 | Fixed #29301 -- Added custom help formatter to BaseCommand class | Claude Paroz | |
| This partially reverts c3055242c81812278ebdc93dd109f30d2cbd1610. Thanks Adam Johnson and Carlton Gibson for the reviews. | |||
| 2018-05-14 | Fixed #29392 -- Disallowed use of abbreviated forms of --settings and ↵ | Ryan P Kilby | |
| --pythonpath management command options. | |||
| 2018-05-13 | Fixed #17379 -- Removed management commands deactivation of the locale. | Claude Paroz | |
| 2018-04-21 | Fixed #29295 -- Fixed management command crash when using subparsers. | Hasan Ramezani | |
| Thanks Tim Graham for the fix. | |||
| 2018-03-02 | Fixed #29133 -- Fixed call_command() crash if a required option is passed in ↵ | Alex Tomic | |
| options. | |||
| 2018-01-03 | Refs #23919 -- Removed obsolete __init__.py files in management command ↵ | я котик пур-пур | |
| directories. | |||
| 2017-07-29 | Used assertRaisesMessage() to test Django's error messages. | Mads Jensen | |
| 2017-06-16 | Fixed #27787 -- Made call_command() validate the options it receives. | Chandrakant Kumar | |
| 2017-05-27 | Fixed #28249 -- Removed unnecessary dict.keys() calls. | Jon Dufresne | |
| iter(dict) is equivalent to iter(dict.keys()). | |||
| 2017-04-01 | Removed implicit default store_true/false argparse args. | Jon Dufresne | |
| argparse automatically sets the default value for store_true/false arguments to its opposite. | |||
| 2017-01-20 | Refs #23919 -- Removed django.test.mock Python 2 compatibility shim. | Tim Graham | |
| 2017-01-20 | Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage. | Tim Graham | |
| These functions do nothing on Python 3. | |||
| 2017-01-18 | Refs #23919 -- Removed most of remaining six usage | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-01-09 | Skipped unnecessary system checks in user_commands test. | Adam Chainz | |
| 2016-11-10 | Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. | za | |
| 2016-10-02 | Fixed #27305 -- Removed BaseCommand.can_import_settings unused attribute | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2016-07-21 | Made miscellaneous code cleanups | Dmitry Dygalo | |
| 2016-06-16 | Fixed #26747 -- Used more specific assertions in the Django test suite. | Jon Dufresne | |
| 2016-04-08 | Fixed E128 flake8 warnings in tests/. | Tim Graham | |
| 2016-02-23 | Fixed #26190 -- Returned handle() result from call_command | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2016-02-15 | Refs #25304 -- Added assertion for Command.requires_migrations_checks default. | Tim Graham | |
| 2016-02-12 | Fixed #25304 -- Allowed management commands to check if migrations are applied. | Mounir Messelmeni | |
| 2016-01-29 | Refs #26022 -- Used context manager version of assertRaises in tests. | Hasan | |
| 2015-12-31 | Fixed #26013 -- Moved django.core.urlresolvers to django.urls. | Marten Kenbeek | |
| Thanks to Tim Graham for the review. | |||
| 2015-10-29 | Fixed #16734 -- Set script prefix even outside of requests | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2015-10-03 | Fixed #25483 -- Allowed passing non-string arguments to call_command | Claude Paroz | |
| Thanks KS Chan for the report and Tim Graham for the review. | |||
| 2015-09-23 | Refs #19973 -- Removed optparse support in management commands per ↵ | Tim Graham | |
| deprecation timeline. | |||
| 2015-09-12 | Fixed #23395 -- Limited line lengths to 119 characters. | Dražen Odobašić | |
| 2015-06-24 | Renamed RemovedInDjangoXYWarnings for new roadmap. | Tim Graham | |
| Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more. | |||
| 2015-06-09 | Fixed #24769 -- Cast optparse verbosity argument to an integer for better ↵ | Rivo Laks | |
| backwards compatibility. Using `BaseCommand.options_list` makes Django use the legacy optparse parser, which does not set the verbosity attribute correctly. Now the verbosity argument is always cast to int. Regression in 8568638 (#19973). Initial report and patch from blueyed. | |||
| 2015-02-11 | Prevented some test commands from needlessly running system checks. | Tim Graham | |
| 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. | |||
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2015-01-08 | Fixed #24073 -- Returned None for get_language when translations are deactivated | Claude Paroz | |
| This fixes a regression caused by f7c287fca9. Thanks Markus Holtermann for identifying the regression. | |||
| 2015-01-07 | Fixed #24073 -- Deactivated translations when leave_locale_alone is False | Claude Paroz | |
| Thanks Tim Graham and Markus Holtermann for the reviews. | |||
| 2015-01-05 | Fixed #8280 -- Allowed management command discovery for eggs | Claude Paroz | |
| Thanks jdetaeye for the report, bhuztez and jdetaeye for the initial patches, Tim Graham and Berker Peksag for the reviews. | |||
| 2014-12-30 | Applied ignore_warnings to Django tests | Claude Paroz | |
| 2014-11-29 | Fixed #23930 -- Added copies of captured_std* managers from CPython's ↵ | wrwrwr | |
| test.support. StringIO import was adapted for compatibility with Python 2. | |||
| 2014-10-20 | Fixed #23685 -- Made call_command skip checks by default | Claude Paroz | |
| Thanks Loic Bistuer for the report/review and Tim Graham for the review. | |||
| 2014-09-24 | Removed numbering from the models.py header of some test packages. | Loic Bistuer | |
| This is a reliqua from the early days of the modeltests/regressiontests era. | |||
| 2014-08-19 | Fixed broken tests on Oracle after 5853c87a458f62ebd62d7809168355610de2570c. | Baptiste Mispelon | |
| Oracle doesn't have a `BEGIN` statement so the test would fail. Refs #23303 | |||
