summaryrefslogtreecommitdiff
path: root/django/contrib/staticfiles/management
AgeCommit message (Collapse)Author
2026-03-06Fixed #36968 -- Improved error message when collectstatic can't find a ↵James Bligh
referenced file.
2025-08-08Fixed #36525 -- Silenced individual deleted file messages in collectstatic ↵James Bligh
--clear's default verbosity.
2025-08-05Fixed #26583 -- Silenced individual clashing name warnings in ↵James Bligh
collectstatic's default verbosity. Made collectstatic report individual destination conflicts only at verbosity 2+. Made verbosity level 1 report a summary count of skipped files.
2024-10-29Fixed #35868 -- Removed unneeded AttributeError catching in collectstatic's ↵Peter Ruszel
delete_file().
2024-06-27Fixed #22712 -- Avoided name shadowing of "all" in ↵Andreu Vallbona
django.contrib.staticfiles.finders. Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2022-02-07Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-07-29Fixed 32956 -- Lowercased spelling of "web" and "web framework" where ↵David Smith
appropriate.
2021-03-01Refs #23919 -- Removed unneeded AttributeError catching in collectstatic's ↵Jacob Walls
link_file(). os.symlink() exists always on Python 3.2+.
2020-06-01Reverted "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-21Fixed #31546 -- Allowed specifying list of tags in ↵Hasan Ramezani
Command.requires_system_checks.
2020-05-08Fixed #31528 -- Made collectstatic management command run staticfiles checks.Hasan Ramezani
2020-05-02Optimized collectstatic when verbosity is 0.François Freitag
Avoid the dict lookup and length computation when command is not run in verbose mode.
2020-04-27Refs #18325 -- Removed unnecessary line endings in management commands.François Freitag
The OutputWrapper automatically adds \n when it’s not present.
2020-04-07Fixed #31428 -- Allowed empty message in management command self.stdout/err ↵François Freitag
proxies.
2020-03-19Used modern idiom in collectstatic command.Jon Dufresne
Replaced set(<generator expression>) with set comprehension.
2019-11-07Refs #29983 -- Added support for using pathlib.Path in all settings.Jon Dufresne
2019-02-06Fixed #30159 -- Removed unneeded use of OrderedDict.Nick Pope
Dicts preserve order since Python 3.6.
2019-01-31Fixed #30147 -- Simplified directory creation with os.makedirs(..., ↵Jon Dufresne
exist_ok=True).
2018-11-09Removed unused variables.Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి)
2018-07-13Fixed #28566 -- Added path matching to collectstatic ignore patterns.Daniel Wiesmann
2018-07-02Removed parser.add_arguments() arguments that match the defaults.Claude Paroz
2018-06-11Fixed #29464 -- Silenced post-process messages in collectstatic's default ↵Arthur Silva
verbosity.
2018-04-23Fixed #28973 -- Silenced copying/linking messages in collectstatic's default ↵Claude Paroz
verbosity.
2018-01-03Refs #23919 -- Removed obsolete __init__.py files in management command ↵я котик пур-пур
directories.
2017-09-27Fixed #28603 -- Clarified comment in collectstatic's collect().Ed Morley
2017-09-07Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()."Tim Graham
This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda because try/except performs better.
2017-06-28Fixed #27818 -- Replaced try/except/pass with contextlib.suppress().Mads Jensen
2017-06-01Sorted imports per isort 4.2.9.Tim Graham
2017-04-01Removed implicit default store_true/false argparse args.Jon Dufresne
argparse automatically sets the default value for store_true/false arguments to its opposite.
2017-03-04Refs #27795 -- Removed unneeded force_text callsClaude Paroz
Thanks Tim Graham for the review.
2017-02-04Refs #27656 -- Updated django.contrib docstring verb style according to PEP 257.Anton Samarchyan
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-18Refs #23919 -- Removed most of remaining six usageClaude Paroz
Thanks Tim Graham for the review.
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2017-01-04Fixed #27658 -- Prevented collectstatic from overwriting newer files in ↵Tim Graham
remote storages. Thanks revimi for the initial patch.
2016-09-03Replaced smart_* by force_* calls whenever possibleClaude Paroz
The smart_* version should only be used when a lazy string should keep its lazy status.
2016-09-02Fixed #27108 -- Displayed collectstatic's delete/overwrite warnings only if ↵François Freitag
some files exist in STATIC_ROOT.
2016-05-12Prevented findstatic argument from appearing as multiple options.eltronix
2016-04-22Fixed #20189 -- Allowed customizing staticfiles ignored_patterns listClaude Paroz
Thanks Tim Graham for the review.
2016-04-08Fixed E128 flake8 warnings in django/.Tim Graham
2016-04-04Fixed W503 flake8 warnings.Tim Graham
2016-03-17Fixed #26297 -- Fixed `collectstatic --clear` crash if storage doesn't ↵Berker Peksag
implement path().
2016-03-05Refs #26315 -- Cleaned up argparse options in commands.Jon Dufresne
* Removed type coercion. Options created by argparse are already coerced to the correct type. * Removed fallback default values. Options created by argparse already have a default value. * Used direct indexing. Options created by argparse are always set. This eliminates the need to use dict.get().
2016-02-23Fixed #23832 -- Added timezone aware Storage API.James Aylett
New Storage.get_{accessed,created,modified}_time() methods convert the naive time from now-deprecated {accessed,created_modified}_time() methods into aware objects in UTC if USE_TZ=True.
2016-02-23Used call_command return value in staticfiles testsClaude Paroz
Refs #26190.
2015-11-22Fixed #25784 -- Prevented an exception on collectstatic helpAlex Morozov
Made the `manage.py help collectstatic` don't fail if the `STATIC_ROOT` setting is empty.
2015-10-17Fixed #25346 -- Allowed collectstatic to delete broken symlinks.Yusuke Miyazaki
2015-09-08Fixed #25350 -- Added alias --no-input for --noinput to management commands.Raphael Michel
2015-08-31Fixed #25331 -- Removed trailing blank lines in docstrings.Maxime Lorant