Opened 8 months ago

Last modified 6 months ago

#28566 assigned Cleanup/optimization

Allow full filepath ignore pattern matching on collectstatic command

Reported by: Daniel Wiesmann Owned by: Daniel Wiesmann
Component: contrib.staticfiles Version: master
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: yes
Easy pickings: no UI/UX: no


The collecstatic ignore patterns currently try pattern matching on the basename and on the path separately. There are cases where excluding js files from a specific folder is desireable. For instance, when vendor js source files are not desired, but other static files are (such as css or images from the library).

Full file path matching would allow to define more detailed control in these cases.

Change History (2)

comment:1 Changed 7 months ago by Tim Graham

Has patch: set
Triage Stage: UnreviewedAccepted

comment:2 Changed 6 months ago by Claude Paroz

Patch needs improvement: set
Note: See TracTickets for help on using tickets.
Back to Top