[Django] #36525: The default verbosity of collectstatic --clear is to verbose

4 views
Skip to first unread message

Django

unread,
Jul 25, 2025, 11:17:45 AM7/25/25
to django-...@googlegroups.com
#36525: The default verbosity of collectstatic --clear is to verbose
------------------------------------------------+--------------------------
Reporter: blighj | Owner: blighj
Type: Cleanup/optimization | Status: assigned
Component: contrib.staticfiles | Version: dev
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------------+--------------------------
This is a follow up from ticket:26583, which is about the verbosity of the
skipped files. There was a PR discussion on that ticket which proposed
that the output of collectstatic --clear is too verbose.
Currently it lists a message for every file deleted. It would be a better
experience if it instead only showed a summary at verbosity1. The current
behaviour could be moved to verbosity 2 and above.
There is the bases for a patch as part of the
[[https://github.com/django/django/pull/19574|PR work on the other
ticket]], but it was removed from that PR to keep its scope more focused.
If this is accepted I can quickly do the git work necessary to create a PR
with those changes.

The summary would change to something like:
>10 static files deleted, 10 files copied
--
Ticket URL: <https://code.djangoproject.com/ticket/36525>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Reply all
Reply to author
Forward
0 new messages