summaryrefslogtreecommitdiff
path: root/django/contrib/admin/bin
AgeCommit message (Collapse)Author
2020-05-14Fixed #31524 -- Removed minified static assets from the admin.Jon Dufresne
2020-04-29Fixed #31493 -- Replaced var with const and let keywords in JavaScript.Jon Dufresne
The eslint configuration and the admin script compress.py have been updated for ES6. The unused fallback of globals.django in jquery.init.js was removed. It is always included before jsi18n-mocks.test.js and it always sets the global value.
2020-04-22Made compress.py script use the official google-closure-compiler release.Jon Dufresne
The script previously used the PyPI package closure, which is slightly out of date and not maintained by Google. The JavaScript contribution docs and the compress.py script now runs the google-closure-compiler package in the recommended way. Google's documentation on usage and installation can be found at: https://github.com/google/closure-compiler-npm/tree/master/packages/google-closure-compiler#usage This also makes the usage simpler as the package now runs through npm's npx utility, which will automatically install google-closure-compiler to a per-user cache.
2019-11-04Simplified consecutive calls to pathlib.Path.parent.Jon Dufresne
2019-08-28Adjusted subprocess.run() calls to use arg list, rather than string. Jon Dufresne
The Python docs recommend passing a sequence to subprocess.run() when possible. Doing so allows for automatic escaping and quoting of arguments. https://docs.python.org/3/library/subprocess.html#frequently-used-arguments > args is required for all calls and should be a string, or a sequence > of program arguments. Providing a sequence of arguments is generally > preferred, as it allows the module to take care of any required > escaping and quoting of arguments (e.g. to permit spaces in file > names). Also removed `shell=True` where unnecessary.
2019-08-23Replaced subprocess commands by run() wherever possible.Claude Paroz
2019-03-01Fixed #30229 -- Removed polyfill from inlines.min.js.Dan Wilson
find() is only called on jQuery objects, so the polyfill is necessary.
2017-11-07Fixed #28769 -- Replaced 'x if x else y' with 'x or y'.Дилян Палаузов
2017-07-21Refs #23919 -- Updated contrib.admin's compress.py to use pathlib.Tom Forbes
2017-03-07Reverted "Fixed #27878, refs #23919 -- Used python3 shebangs."Tim Graham
This reverts commit 4cffa9a1ffb37d4de7e99a851a9ed87b3c02d229.
2017-02-23Fixed #27878, refs #23919 -- Used python3 shebangs.Chris Lamb
2016-11-14Fixed E305 flake8 warnings.Ramin Farajpour Cami
2016-04-08Fixed E128 flake8 warnings in django/.Tim Graham
2015-07-17Allowed installing closure with pip for admin JavaScript compression.Tim Graham
2014-09-05Limited lines to 119 characters in django/Tim Graham
refs #23395.
2014-06-09Converted Django scripts to argparseClaude Paroz
Refs #19973.
2013-10-31Started attackign the next flake8 violationAlex Gaynor
2013-02-02Fixed #19333 -- Moved compress.py outside of the admin static folder. Thanks ↵Julien Phalip
to camilonova, Russell Keith-Magee, Aymeric Augustin and Ramiro Morales for the feedback.