Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refs #34233 -- Used str.removeprefix()/removesuffix(). | Mariusz Felisiak | 2023-01-18 | 1 | -1/+1 |
| | |||||
* | Fixed #33986 -- Hardened binary lookup in template commands. | Shai Berger | 2022-09-07 | 1 | -2/+9 |
| | | | | | | | | | | | | | | | 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. | ||||
* | Refs #33476 -- Made management commands use black. | Carlton Gibson | 2022-02-11 | 1 | -0/+13 |
| | | | | Run black on generated files, if it is available on PATH. | ||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 1 | -18/+20 |
| | |||||
* | Refs #32355 -- Modernized subprocess.run() calls. | Adam Johnson | 2021-09-27 | 1 | -2/+2 |
| | |||||
* | Replaced subprocess commands by run() wherever possible. | Claude Paroz | 2019-08-23 | 1 | -5/+4 |
| | |||||
* | Corrected multiple typos. | Min ho Kim | 2019-08-12 | 1 | -1/+1 |
| | |||||
* | Refs #29973 -- Extracted helper functions from makemessages. | rsiemens | 2019-01-28 | 1 | -0/+30 |
| | |||||
* | Fixed #29704 -- Fixed manage.py test --testrunner if it isn't followed by an ↵ | Matthijs Kooijman | 2018-08-23 | 1 | -1/+17 |
| | | | | equals sign. | ||||
* | Refs #27795 -- Replaced force_text() usage in django.core.management. | Jon Dufresne | 2018-01-31 | 1 | -3/+3 |
| | | | Use decode() since Popen.communicate() always returns bytes. | ||||
* | Removed unused os_err_exc_type kwarg from core.management.utils.popen_wrapper(). | Jon Dufresne | 2018-01-31 | 1 | -2/+2 |
| | | | Unused since its introduction in 7fca4416c7f7ce66d528f0d1ad829cf3b8290b89. | ||||
* | Refs #27656 -- Updated django.core docstring verbs according to PEP 257. | Anton Samarchyan | 2017-02-21 | 1 | -2/+2 |
| | |||||
* | Refs #23919 -- Replaced six.reraise by raise | Claude Paroz | 2017-01-22 | 1 | -6/+2 |
| | |||||
* | Refs #23919 -- Removed six.<various>_types usage | Claude Paroz | 2017-01-18 | 1 | -1/+1 |
| | | | | Thanks Tim Graham and Simon Charette for the reviews. | ||||
* | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | 2017-01-18 | 1 | -2/+0 |
| | |||||
* | Fixed #20468 -- Added loaddata --exclude option. | Berker Peksag | 2016-06-09 | 1 | -0/+28 |
| | | | | Thanks Alex Morozov for the initial patch. | ||||
* | Added a function for SECRET_KEY generation logic. | Roberto Rosario | 2016-02-11 | 1 | -0/+9 |
| | |||||
* | Fixed #25677 -- Prevented decoding errors in/after Popen calls | Claude Paroz | 2015-11-19 | 1 | -7/+5 |
| | | | | Thanks Gavin Wahl for the report and Tim Graham for the review. | ||||
* | Fixed #23271 -- Fixed makemessages crash/test failure for some locales. | daphshez | 2015-05-01 | 1 | -2/+2 |
| | |||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 1 | -2/+2 |
| | |||||
* | Simplified handle_extensions management utility | Claude Paroz | 2014-11-17 | 1 | -7/+4 |
| | | | | | makemessages now doesn't need any special ignoring logic, after commit bb4a92d784. | ||||
* | Replaced set([foo, ...]) by {foo, ...} literals. Refs PR 3282. | Thomas Chaumeny | 2014-09-29 | 1 | -2/+2 |
| | | | | Thanks Collin Anderson for the review. | ||||
* | Fixed #22335 -- Fixed popen_wrapper error on non-English Windows systems. | Zbigniew Siciarz | 2014-03-26 | 1 | -1/+3 |
| | |||||
* | Fixed #22256 -- Replaced bad fallback for missing PATH | Patrick Michaud | 2014-03-22 | 1 | -1/+1 |
| | | | | Thanks Baptiste Mispelon for the review. | ||||
* | More attacking E302 violators | Alex Gaynor | 2013-11-02 | 1 | -0/+1 |
| | |||||
* | Fixed #20989 -- Removed useless explicit list comprehensions. | Simon Charette | 2013-08-30 | 1 | -1/+1 |
| | |||||
* | Removed most of absolute_import imports | Claude Paroz | 2013-07-29 | 1 | -1/+1 |
| | | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way. | ||||
* | Made (make|compile)messages check for availability of gettext commands. | Ramiro Morales | 2013-03-10 | 1 | -3/+37 |
| | | | | Refs #19584. | ||||
* | Fixed #19942 -- Decoded errors coming from Popen commands | Claude Paroz | 2013-03-03 | 1 | -1/+8 |
| | | | | Thanks Aymeric Augustin for reporting the issue. | ||||
* | Move management helper function to new utils module. | Ramiro Morales | 2013-02-26 | 1 | -0/+24 |
| | | | | This allows us to iremove an inter-command import. | ||||
* | Don't use os.system() in compilemessages. | Ramiro Morales | 2013-02-26 | 1 | -0/+14 |
Fixes #19584. This implies stop storing file path command line arguments in envvars as a security measure to start relying on with Popen's shell=False instead, and addition of an 'utils' module. Thanks kmichel_wgs for the report. |