| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-07-23 | Refs #36500 -- Rewrapped long docstrings and block comments via a script. | django-bot | |
| Rewrapped long docstrings and block comments to 79 characters + newline using script from https://github.com/medmunds/autofix-w505. | |||
| 2023-04-13 | Fixed typo in ManagementUtility.autocomplete()'s docstring. | Vitor [Bux]baum | |
| 2023-01-18 | Refs #34233 -- Used @functools.cache. | Nick Pope | |
| Python 3.9+ supports @functools.cache as an alias for @functools.lru_cache(maxsize=None). | |||
| 2022-07-25 | Removed obsolete note in management.get_commands() docstring. | Anders Kaseorg | |
| Commit 901c3708fb8a2e51bddd37358f8e536282a8c266 documented that the return dict could directly include command modules instead of name strings, which was true at the time. However, that possibility was removed in commit 38f1fe3b35c212136d959538a309c33bf2d340a9. | |||
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2022-01-07 | Refs #32355 -- Removed unnecessary list() calls before reversed() on dictviews. | Mariusz Felisiak | |
| Dict and dictviews are iterable in reversed insertion order using reversed() in Python 3.8+. | |||
| 2021-10-25 | Fixed #33205 -- Made call_command() raise TypeError when dest with multiple ↵ | Hasan Ramezani | |
| arguments is passed. | |||
| 2020-11-10 | Fixed #32177 -- Made execute_from_command_line() use program name from the ↵ | William Schwartz | |
| argv argument. This caused crash in environments where sys.argv[0] is incorrectly set to None. | |||
| 2020-10-30 | Fixed #32153 -- Fixed management commands when using required list options. | Hasan Ramezani | |
| Thanks Mark Gajdosik for the report and initial patch. | |||
| 2020-09-30 | Fixed #32047 -- Fixed call_command() crash if a constant option from ↵ | Hasan Ramezani | |
| required mutually exclusive group is passed in options. | |||
| 2019-10-15 | Fixed #30872 -- Improved unknown command message when settings are manually ↵ | Carlton Gibson | |
| configured. | |||
| 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-02-06 | Fixed #30159 -- Removed unneeded use of OrderedDict. | Nick Pope | |
| Dicts preserve order since Python 3.6. | |||
| 2018-09-28 | Refs #28909 -- Simplifed code using unpacking generalizations. | Sergey Fedoseev | |
| 2018-07-18 | Removed duplicate words in various comments. | Mariusz Felisiak | |
| 2018-05-14 | Fixed #29392 -- Disallowed use of abbreviated forms of --settings and ↵ | Ryan P Kilby | |
| --pythonpath management command options. | |||
| 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-02-21 | Fixed #28398 -- Added suggestions for mistyped management commands. | Tom Forbes | |
| 2018-01-31 | Refs #27795 -- Replaced force_text() usage in django.core.management. | Jon Dufresne | |
| Use decode() since Popen.communicate() always returns bytes. | |||
| 2017-12-07 | Fixed #28791 -- Allowed commands that don't require settings to work if the ↵ | geekodour | |
| DJANGO_SETTINGS_MODULE doesn't exist. | |||
| 2017-12-04 | Fixed #28860 -- Removed unnecessary len() calls. | Дилян Палаузов | |
| 2017-09-07 | Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()." | Tim Graham | |
| This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda because try/except performs better. | |||
| 2017-08-31 | Fixed #28524 -- Fixed program name in management commands when using 'python ↵ | Nick Pope | |
| -m django'. | |||
| 2017-08-09 | Fixed argument name in call_command() docstring. | Raúl Pedro Fernandes Santos | |
| Follow up to 8f6a1a15516629b30e2fa2c48d5e682f7955868c. | |||
| 2017-07-29 | Avoided creation of temporary sets. | Sergey Fedoseev | |
| 2017-06-28 | Fixed #27818 -- Replaced try/except/pass with contextlib.suppress(). | 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-02-22 | Fixed #27870 -- Cleaned up ManagementUtility.autocomplete(). | Phil Bazun | |
| 2017-02-21 | Refs #27656 -- Updated django.core docstring verbs according to PEP 257. | Anton Samarchyan | |
| 2017-01-28 | Removed obsolete sentence in ManagementUtility docstring. | Srinivas Reddy Thatiparthy | |
| 2017-01-20 | Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage. | Tim Graham | |
| These functions do nothing on Python 3. | |||
| 2017-01-19 | Refs #23919 -- Stopped inheriting from object to define new style classes. | Simon Charette | |
| 2017-01-18 | Refs #23919 -- Stopped using django.utils.lru_cache(). | Aymeric Augustin | |
| 2017-01-18 | Refs #23919 -- Removed most of remaining six usage | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-01-18 | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | |
| 2017-01-02 | Fixed #27522 -- Fixed runserver autoreload when using staticfile's options. | Jeroen van Veen | |
| On a SyntaxError, made runserver exit with a stacktrace when using contrib.staticfiles's runserver options such as --nostatic. | |||
| 2016-09-30 | Removed unneeded no_settings_commands hardcoded list | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2016-08-08 | Fixed #26940 -- Removed makemessages from no_settings_commands whitelist | Claude Paroz | |
| As makemessages uses several settings for proper run (FILE_CHARSET, LOCALE_PATHS, MEDIA_ROOT, and STATIC_ROOT), we should require settings configuration for this command. | |||
| 2016-05-11 | Fixed #26429 -- Added a timestamp to merge migration names. | Raphael Gaschignard | |
| This reduces the possibility of a naming conflict, especially after squashing migrations. | |||
| 2016-04-08 | Fixed E128 flake8 warnings in django/. | Tim Graham | |
| 2016-04-03 | Merge pull request #6389 from Dunedan/ticket_25420 | Dunedan | |
| Fixed #25420 -- Documented bash completion exit code behavior. | |||
| 2016-03-05 | Fixed #26315 -- Allowed call_command() to accept a Command object as the ↵ | Jon Dufresne | |
| first argument. | |||
| 2015-10-18 | Fixed #25510 -- Allowed runserver to start with incorrect INSTALLED_APPS. | Aymeric Augustin | |
| In that case, the content of INSTALLED_APPS will be ignored until it's fixed and the autoreloader kicks in. I confirmed this behavior manually. As explained on the ticket it's hard to write a test for this case | |||
| 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-09 | Fixed #25372 -- Fixed autocompletion for options of non-argparse commands. | Daniel Hahler | |
| 2015-08-29 | Fixed #24704 -- Made the autoreloader survive SyntaxErrors. | Aymeric Augustin | |
| With this change, it's expected to survive anything except errors that make it impossible to import the settings. It's too complex to fallback to a sensible behavior with a broken settings module. Harcoding things about runserver in ManagementUtility.execute is atrocious but it's the only way out of the chicken'n'egg problem: the current implementation of the autoreloader primarily watches imported Python modules -- and then a few other things that were bolted on top of this design -- but we want it to kick in even if the project contains import-time errors and django.setup() fails. At some point we should throw away this code and replace it by an off-the-shelf autoreloader that watches the working directory and re-runs `django-admin runserver` whenever something changes. | |||
