Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed #34568 -- Made makemigrations --update respect --name option. | Mariusz Felisiak | 2023-05-17 | 1 | -3/+2 |
| | | | Thanks David Sanders for the report. | ||||
* | Fixed #34535 -- Fixed SQLite dbshell crash on pathlib.Path when handling ↵ | Jan Pieter Waagmeester | 2023-05-04 | 1 | -1/+1 |
| | | | | | | CommandError. Regression in 5b884d45ac5b76234eca614d90c83b347294c332. | ||||
* | Fixed typo in ManagementUtility.autocomplete()'s docstring. | Vitor [Bux]baum | 2023-04-13 | 1 | -2/+2 |
| | |||||
* | Fixed #32813 -- Made runserver display port after binding. | Dhanush | 2023-02-10 | 1 | -25/+21 |
| | | | | Thanks Florian Apolloner for the review. | ||||
* | Fixed #34259 -- Passed called_from_command_line to command subparsers. | Adam Johnson | 2023-02-03 | 1 | -0/+10 |
| | |||||
* | Refs #33476 -- Applied Black's 2023 stable style. | David Smith | 2023-02-01 | 3 | -3/+1 |
| | | | | | | | | 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 | ||||
* | Refs #34233 -- Used @functools.cache. | Nick Pope | 2023-01-18 | 3 | -3/+3 |
| | | | | Python 3.9+ supports @functools.cache as an alias for @functools.lru_cache(maxsize=None). | ||||
* | Refs #34233 -- Used str.removeprefix()/removesuffix(). | Mariusz Felisiak | 2023-01-18 | 3 | -5/+4 |
| | |||||
* | Fixed #14094 -- Added support for unlimited CharField on PostgreSQL. | Adrian Torres | 2022-12-28 | 1 | -1/+2 |
| | | | | Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | ||||
* | Fixed #18468 -- Added support for comments on columns and tables. | kimsoungryoul | 2022-12-28 | 1 | -13/+31 |
| | | | | | | | | Thanks Jared Chung, Tom Carrick, David Smith, Nick Pope, and Mariusz Felisiak for reviews. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> Co-authored-by: Nick Pope <nick@nickpope.me.uk> | ||||
* | Fixed #33308 -- Added support for psycopg version 3. | Daniele Varrazzo | 2022-12-15 | 1 | -1/+1 |
| | | | | | | | Thanks Simon Charette, Tim Graham, and Adam Johnson for reviews. Co-authored-by: Florian Apolloner <florian@apolloner.eu> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | ||||
* | Made inspectdb used Cursor.description.display_size for CharFields' max_length. | Mariusz Felisiak | 2022-12-08 | 1 | -2/+2 |
| | | | internal_size is size for fixed-size types not for char types. | ||||
* | Fixed #34085 -- Made management commands don't use black for non-Python files. | Carlton Gibson | 2022-10-20 | 1 | -3/+1 |
| | | | | | | | Bug in d113b5a837f726d1c638d76c4e88445e6cd59fd5. Co-authored-by: programmylife <acmshar@gmail.com> Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> | ||||
* | Fixed #34068 -- Corrected output of runserver command for "0" IP address. | Dhanush | 2022-10-04 | 1 | -1/+8 |
| | | | | Thanks David Sanders for the review. | ||||
* | Fixed #34051 -- Made makemigrations --check exit before making migrations. | Jacob Walls | 2022-09-28 | 1 | -3/+6 |
| | |||||
* | Fixed #34052 -- Made migrate --check don't emit signals and output when up ↵ | JunKi Yoon | 2022-09-27 | 1 | -10/+14 |
| | | | | to date. | ||||
* | Improved migrate help text for the --check option. | Mike Lissner | 2022-09-26 | 1 | -1/+4 |
| | |||||
* | Fixed #33986 -- Hardened binary lookup in template commands. | Shai Berger | 2022-09-07 | 2 | -4/+19 |
| | | | | | | | | | | | | | | | Made template commands look up formatters before writing files. This makes sure files included in the template are not identified as executable formatter commands, even in case the template is rendered into the system path (as might easily happen on Windows, where the current directory is on the system path by default). While at it, Warned about trusting custom templates for startapp/startproject. Thanks Trung Pham of Viettel Cyber Security for reporting the issue, Django Security Team for discussions, and Adam Johnson and Carlton Gibson for reviews. | ||||
* | Fixed #33949 -- Fixed fixture dirs duplicates with Path instances. | Claude Paroz | 2022-08-23 | 1 | -1/+1 |
| | |||||
* | Removed obsolete note in management.get_commands() docstring. | Anders Kaseorg | 2022-07-25 | 1 | -4/+0 |
| | | | | | | 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. | ||||
* | Fixed #33823 -- Made inspectdb generate unique related_name when reverse ↵ | Vladimir Kochetkov | 2022-07-06 | 1 | -2/+10 |
| | | | | accessor clashes. | ||||
* | Fixed #33657 -- Allowed customizing formatter class of argument parsers. | Abhinav Yadav | 2022-06-20 | 1 | -1/+1 |
| | |||||
* | Fixed #24870 -- Added --update option to makemigrations command. | David Wobrock | 2022-06-17 | 1 | -2/+105 |
| | |||||
* | Refs #24870 -- Refactored out get_relative_path() hook in makemigrations. | David Wobrock | 2022-06-17 | 1 | -6/+11 |
| | |||||
* | Fixed #33565 -- Improved locale format validation for the makemessages command. | Ronnie van den Crommenacker | 2022-06-08 | 1 | -7/+38 |
| | |||||
* | Fixed #32234 -- Made inspectdb inform about composite primary keys. | Anv3sh | 2022-06-01 | 1 | -2/+11 |
| | |||||
* | Renamed wrapped functions to wrapper. | Aymeric Augustin | 2022-05-25 | 1 | -2/+2 |
| | | | | | All these functions are wrapping another function. They're the wrapper, while the function they're wrapping is the wrapped. | ||||
* | Refs #33173 -- Removed use of deprecated cgi module. | Carlton Gibson | 2022-05-11 | 1 | -2/+2 |
| | | | | https://peps.python.org/pep-0594/#cgi | ||||
* | Fixed #33643 -- Fixed inspectdb crash on functional unique constraints on ↵ | Scott | 2022-04-16 | 1 | -1/+3 |
| | | | | Oracle. | ||||
* | Fixed #33580 -- Fixed crash when checking support for terminal colors on Wine. | jochemfranken | 2022-03-16 | 1 | -1/+1 |
| | | | Regression in f1585c54d0242d71cdc63421f751528472b1c9c2. | ||||
* | Refs #33476 -- Added warning to optimizemigration/squashmigrations commands ↵ | Mariusz Felisiak | 2022-02-23 | 2 | -0/+16 |
| | | | | when black cannot be applied. | ||||
* | Fixed #27844 -- Added optimizemigration management command. | David Wobrock | 2022-02-22 | 1 | -0/+121 |
| | |||||
* | Refs #33476 -- Made management commands use black. | Carlton Gibson | 2022-02-11 | 4 | -1/+25 |
| | | | | Run black on generated files, if it is available on PATH. | ||||
* | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | 2022-02-07 | 20 | -59/+144 |
| | |||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 30 | -1237/+1881 |
| | |||||
* | Refs #33476 -- Refactored problematic code before reformatting by Black. | Mariusz Felisiak | 2022-02-03 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | In these cases Black produces unexpected results, e.g. def make_random_password( self, length=10, allowed_chars='abcdefghjkmnpqrstuvwxyz' 'ABCDEFGHJKLMNPQRSTUVWXYZ' '23456789', ): or cursor.execute(""" SELECT ... """, [table name], ) | ||||
* | Fixed #26760 -- Added --prune option to migrate command. | Jacob Walls | 2022-01-21 | 1 | -0/+52 |
| | |||||
* | Fixed #29026 -- Added --scriptable option to makemigrations. | Jacob Walls | 2022-01-10 | 1 | -3/+22 |
| | |||||
* | Refs #32355 -- Removed unnecessary list() calls before reversed() on dictviews. | Mariusz Felisiak | 2022-01-07 | 1 | -1/+1 |
| | | | | Dict and dictviews are iterable in reversed insertion order using reversed() in Python 3.8+. | ||||
* | Refs #29026 -- Allowed customizing InteractiveMigrationQuestioner's prompt ↵ | Jacob Walls | 2022-01-03 | 1 | -2/+6 |
| | | | | | | | destination. Previously, the questioner did not obey the value of stdout provided to the command. | ||||
* | Fixed #32397 -- Made startapp/startproject management commands set User-Agent. | Ad Timmering | 2021-11-25 | 1 | -4/+10 |
| | | | | This sets User-Agent to 'Django/<version>'. | ||||
* | Fixed #4282 -- Made startapp/startproject management commands honor umask. | Ad Timmering | 2021-11-24 | 1 | -1/+7 |
| | | | | Co-authored-by: Christian Schmitt <c.schmitt@briefdomain.de> | ||||
* | Fixed #6106 -- Prevented makemessages from changing .po files when up to date. | Ad Timmering | 2021-11-11 | 1 | -2/+4 |
| | | | | Co-authored-by: Daniyal Abbasi <abbasi.daniyal98@gmail.com> | ||||
* | Fixed #33187 -- Made inspectdb handle ForeignKey.to_field attribute. | jordan.bae | 2021-11-02 | 1 | -2/+6 |
| | |||||
* | Fixed #33246 -- Made squashmigrations raise CommandError when squashed_name ↵ | andrewdotn | 2021-11-02 | 1 | -0/+6 |
| | | | | already exists. | ||||
* | Fixed #33205 -- Made call_command() raise TypeError when dest with multiple ↵ | Hasan Ramezani | 2021-10-25 | 1 | -0/+6 |
| | | | | arguments is passed. | ||||
* | Fixed #29470 -- Logged makemigrations automatic decisions in non-interactive ↵ | Jacob Walls | 2021-10-12 | 1 | -1/+6 |
| | | | | mode. | ||||
* | Refs #29026 -- Added log() to makemigrations. | Jacob Walls | 2021-10-05 | 1 | -19/+22 |
| | |||||
* | Refs #32355 -- Modernized subprocess.run() calls. | Adam Johnson | 2021-09-27 | 1 | -2/+2 |
| | |||||
* | Refs #31546 -- Removed support for boolean values in ↵ | Mariusz Felisiak | 2021-09-20 | 1 | -10/+0 |
| | | | | | | Command.requires_system_checks. Per deprecation timeline. |