summaryrefslogtreecommitdiff
path: root/tests/user_commands/management
AgeCommit message (Collapse)Author
2023-02-03Fixed #34259 -- Passed called_from_command_line to command subparsers.Adam Johnson
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-10-25Fixed #33205 -- Made call_command() raise TypeError when dest with multiple ↵Hasan Ramezani
arguments is passed.
2021-02-10Fixed #32355 -- Dropped support for Python 3.6 and 3.7Mariusz Felisiak
2020-10-30Fixed #32153 -- Fixed management commands when using required list options.Hasan Ramezani
Thanks Mark Gajdosik for the report and initial patch.
2020-10-09Fixed #32094 -- Fixed flush() calls on management command self.stdout/err ↵Thomas Riccardi
proxies.
2020-10-06Refs #32047 -- Added test for using call_command() with constant required ↵Hasan Ramezani
options.
2020-09-30Fixed #32047 -- Fixed call_command() crash if a constant option from ↵Hasan Ramezani
required mutually exclusive group is passed in options.
2020-06-01Reverted "Refs #23919 -- Removed obsolete __init__.py files in management ↵René Fleschenberg
command directories." This reverts commit ccc25bfe4f0964a00df3af6f91c2d9e20159a0c2. https://groups.google.com/d/topic/django-developers/GVHMH2ciAnk/discussion
2020-05-21Fixed #31546 -- Allowed specifying list of tags in ↵Hasan Ramezani
Command.requires_system_checks.
2020-04-14Refs #29501 -- Allowed customizing exit status for management commands.Adam Johnson
2020-04-07Fixed #31428 -- Allowed empty message in management command self.stdout/err ↵François Freitag
proxies.
2019-09-06Fixed #30763 -- Fixed management commands when using required mutually ↵Hasan Ramezani
exclusive groups.
2019-06-28Fixed #30584 -- Fixed management command when using subparsers with dest ↵Hasan Ramezani
parameter.
2018-07-02Removed parser.add_arguments() arguments that match the defaults.Claude Paroz
2018-06-06Fixed #29301 -- Added custom help formatter to BaseCommand classClaude Paroz
This partially reverts c3055242c81812278ebdc93dd109f30d2cbd1610. Thanks Adam Johnson and Carlton Gibson for the reviews.
2018-05-14Fixed #29392 -- Disallowed use of abbreviated forms of --settings and ↵Ryan P Kilby
--pythonpath management command options.
2018-05-13Fixed #17379 -- Removed management commands deactivation of the locale.Claude Paroz
2018-04-21Fixed #29295 -- Fixed management command crash when using subparsers.Hasan Ramezani
Thanks Tim Graham for the fix.
2018-03-02Fixed #29133 -- Fixed call_command() crash if a required option is passed in ↵Alex Tomic
options.
2018-01-03Refs #23919 -- Removed obsolete __init__.py files in management command ↵я котик пур-пур
directories.
2017-05-27Fixed #28249 -- Removed unnecessary dict.keys() calls.Jon Dufresne
iter(dict) is equivalent to iter(dict.keys()).
2017-04-01Removed implicit default store_true/false argparse args.Jon Dufresne
argparse automatically sets the default value for store_true/false arguments to its opposite.
2016-10-02Fixed #27305 -- Removed BaseCommand.can_import_settings unused attributeClaude Paroz
Thanks Tim Graham for the review.
2016-04-08Fixed E128 flake8 warnings in tests/.Tim Graham
2015-12-31Fixed #26013 -- Moved django.core.urlresolvers to django.urls.Marten Kenbeek
Thanks to Tim Graham for the review.
2015-10-29Fixed #16734 -- Set script prefix even outside of requestsClaude Paroz
Thanks Tim Graham for the review.
2015-10-03Fixed #25483 -- Allowed passing non-string arguments to call_commandClaude Paroz
Thanks KS Chan for the report and Tim Graham for the review.
2015-09-23Refs #19973 -- Removed optparse support in management commands per ↵Tim Graham
deprecation timeline.
2015-09-12Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić
2015-06-09Fixed #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.
2014-10-20Fixed #23685 -- Made call_command skip checks by defaultClaude Paroz
Thanks Loic Bistuer for the report/review and Tim Graham for the review.
2014-08-18Fixed #23303 -- Added BEGIN and COMMIT statements to the output of sqlmigrate.Baptiste Mispelon
2014-08-18Fixed #23309 -- Fixed call_command to parse args correctlyRaffaele Salmaso
2014-08-12Fixed #22985 -- Made call_command accept option name parameterClaude Paroz
Thanks giulettamasina for the report and Tim Graham for the review.
2014-06-14Fixed several flake8 errorsAlex Gaynor
2014-06-14Converted remaining management commands to argparseClaude Paroz
2014-06-14Fixed #19973 -- Replaced optparse by argparse in management commandsClaude Paroz
Thanks Tim Graham for the review.
2014-01-20Fixed #16905 -- Added extensible checks (nee validation) frameworkRussell Keith-Magee
This is the result of Christopher Medrela's 2013 Summer of Code project. Thanks also to Preston Holmes, Tim Graham, Anssi Kääriäinen, Florian Apolloner, and Alex Gaynor for review notes along the way. Also: Fixes #8579, fixes #3055, fixes #19844.
2013-11-02Fixing E302 ErrorsJason Myers
Signed-off-by: Jason Myers <jason@jasonamyers.com>
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner