| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-02-26 | Refs #36936 - Adjusted tests to set PYTHON_COLORS environment variable. | Pete Rosenblum | |
| When "FORCE_COLOR" was set in the environment (such as in django-docker-box) several test cases that rely on string comparisons against exception messages or command line results would fail due to ANSI escape sequences being present in the output. This change resolved the issue by setting the "PYTHON_COLORS" environment variable to "0" for those specific tests, which takes precendence over the presence of "FORCE_COLOR". | |||
| 2026-01-26 | Fixed #36776 -- Clarified dev server runs in WSGI mode. | jafarkhan83 | |
| 2025-11-20 | Fixed #36321 -- Defaulted suggest_on_error=True in management commands. | kihuni | |
| Python 3.15 defaults suggest_on_error=True, but the feature is available from 3.14, so this change opts in earlier. This change can be reverted when Python 3.15 is the minimum supported version. | |||
| 2025-11-10 | Refs #36680 -- Avoided manipulating PATH in AdminScriptTestCase. | Jacob Walls | |
| This mostly reverts 6436ec321073bf0622af815e0af08f54c97f9b30, which was fragile. Instead, if black is present, we use it to format the expected and actual results, instead of hard-coding the expected formatted value. Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> | |||
| 2025-10-30 | Refs #36680 -- Fixed admin_scripts tests crash when black is not installed. | Mariusz Felisiak | |
| Regression in 6436ec321073bf0622af815e0af08f54c97f9b30. | |||
| 2025-10-28 | Fixed #36680 -- Parametrized formatter discovery in AdminScriptTestCase. | Jacob Walls | |
| 2025-09-05 | Fixed #36564 -- Changed DEFAULT_AUTO_FIELD from AutoField to BigAutoField. | Tim Graham | |
| 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. | |||
| 2025-07-23 | Refs #36500 -- Shortened some long docstrings and comments. | Mike Edmunds | |
| Manually reformatted some long docstrings and comments that would be damaged by the to-be-applied autofixer script, in cases where editorial judgment seemed necessary for style or wording changes. | |||
| 2025-05-13 | Refs #35591 -- Ensured isolated test environ for runserver warning. | Carlton Gibson | |
| 2025-04-27 | Fixed #18296 -- Created missing custom target directory for startproject and ↵ | Bruno Alla | |
| startapp. | |||
| 2025-03-21 | Fixed #36266 -- Renamed HIDE_PRODUCTION_WARNING environment variable to ↵ | Johanan Oppong Amoateng | |
| DJANGO_RUNSERVER_HIDE_WARNING. | |||
| 2024-12-11 | Fixed #35920 -- Observed requires_system_checks in migrate and runserver. | Jacob Walls | |
| Before, the full suite of system checks was run by these commands regardless if requires_system_checks had been overridden. Co-authored-by: Simon Charette <charette.s@gmail.com> | |||
| 2024-11-29 | Fixed #35308 -- Handled OSError when launching code formatters. | Jacob Walls | |
| Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> | |||
| 2024-10-29 | Refs #35844 -- Expanded compatibility for expected error messages in command ↵ | Tainara Palmeira | |
| tests on Python 3.12 and 3.13. Updated CommandTests.test_subparser_invalid_option and CommandDBOptionChoiceTests.test_invalid_choice_db_option to use assertRaisesRegex() for compatibility with modified error messages in Python 3.12, 3.13, and 3.14+.. | |||
| 2024-10-25 | Refs #35844 -- Corrected expected error messages in commands tests on Python ↵ | Tainara Palmeira | |
| 3.14+. Updated CommandTests.test_subparser_invalid_option and CommandDBOptionChoiceTests.test_invalid_choice_db_option to address changes in Python 3.14+ error handling. | |||
| 2024-08-23 | Fixed #35689 -- Handled custom labels in LabelCommand.missing_args_message. | Giovanni Fabbretti | |
| 2024-08-12 | Refs #35591 -- Removed hardcoded "stable" version in runserver warning. | Mariusz Felisiak | |
| 2024-08-09 | Fixed #35591 -- Added unsuitable for production console warning to runserver. | Andrew Miller | |
| 2024-05-16 | Fixed typos in test docstrings. | Mariusz Felisiak | |
| 2024-05-10 | Fixed #35429 -- Added argparse choices to --database options. | SaJH | |
| 2024-02-20 | Refs #34900 -- Fixed ↵ | Mariusz Felisiak | |
| CommandTypes.test_help_default_options_with_custom_arguments test on Python 3.13+. https://github.com/python/cpython/commit/c4a2e8a2c5188c3288d57b80852e92c83f46f6f3 | |||
| 2024-01-26 | Applied Black's 2024 stable style. | Mariusz Felisiak | |
| https://github.com/psf/black/releases/tag/24.1.0 | |||
| 2023-09-01 | Fixed #34778 -- Avoided importing modules in startapp/startproject. | Jacob Walls | |
| 2023-02-10 | Fixed #32813 -- Made runserver display port after binding. | Dhanush | |
| Thanks Florian Apolloner for the review. | |||
| 2023-02-01 | Refs #33476 -- Applied Black's 2023 stable style. | David Smith | |
| Black 23.1.0 is released which, as the first release of the year, introduces the 2023 stable style. This incorporates most of last year's preview style. https://github.com/psf/black/releases/tag/23.1.0 | |||
| 2023-01-18 | Fixed #34233 -- Dropped support for Python 3.8 and 3.9. | Mariusz Felisiak | |
| 2022-10-20 | Fixed #34085 -- Made management commands don't use black for non-Python files. | Carlton Gibson | |
| Bug in d113b5a837f726d1c638d76c4e88445e6cd59fd5. Co-authored-by: programmylife <acmshar@gmail.com> Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> | |||
| 2022-10-04 | Fixed #34068 -- Corrected output of runserver command for "0" IP address. | Dhanush | |
| Thanks David Sanders for the review. | |||
| 2022-02-11 | Refs #33476 -- Made management commands use black. | Carlton Gibson | |
| Run black on generated files, if it is available on PATH. | |||
| 2022-02-07 | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | |
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2021-11-25 | Fixed #32397 -- Made startapp/startproject management commands set User-Agent. | Ad Timmering | |
| This sets User-Agent to 'Django/<version>'. | |||
| 2021-11-24 | Fixed #4282 -- Made startapp/startproject management commands honor umask. | Ad Timmering | |
| Co-authored-by: Christian Schmitt <c.schmitt@briefdomain.de> | |||
| 2021-09-27 | Refs #32355 -- Modernized subprocess.run() calls. | Adam Johnson | |
| 2021-09-01 | Fixed #32309 -- Added --exclude option to startapp/startproject management ↵ | sage | |
| commands. | |||
| 2021-09-01 | Refs #32309 -- Added test for excluding hidden directories in startproject ↵ | sage | |
| command. | |||
| 2021-08-31 | Fixed #25264 -- Allowed suppressing base command options in --help output. | Jan Szoja | |
| This also suppresses -verbosity and --trackback options in the runserver's help. | |||
| 2021-08-31 | Refs #25264 -- Added test for command --help output with default options and ↵ | Jan Szoja | |
| custom arguments. | |||
| 2021-05-25 | Refs #32379 -- Added USE_TZ settings to AdminScriptTestCase.write_settings(). | Mariusz Felisiak | |
| 2021-05-14 | Fixed #32734 -- Fixed validation of startapp's directory with trailing slash. | Rohith PR | |
| Regression in fc9566d42daf28cdaa25a5db1b5ade253ceb064f. | |||
| 2021-01-18 | Fixed #32296 -- Added --skip-checks option to runserver command. | Hasan Ramezani | |
| 2021-01-14 | Refs #23433 -- Removed django-admin.py entry point per deprecation timeline. | Mariusz Felisiak | |
| 2020-12-15 | Fixed #31007 -- Allowed specifying type of auto-created primary keys. | Tom Forbes | |
| This also changes the default type of auto-created primary keys for new apps and projects to BigAutoField. | |||
| 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-09-22 | Corrected docstring quotes in various code. | Mariusz Felisiak | |
| 2020-06-01 | Reverted "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-21 | Fixed #31546 -- Allowed specifying list of tags in ↵ | Hasan Ramezani | |
| Command.requires_system_checks. | |||
| 2020-05-14 | Fixed #31575 -- Added system check for admin sidebar request context ↵ | Jon Dufresne | |
| processor dependency. Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> | |||
| 2020-04-27 | Removed unnecessary capturing/hiding of stdout/stderr in various tests. | François Freitag | |
