Opened 7 years ago
Closed 6 years ago
#28566 closed Cleanup/optimization (fixed)
Allow full filepath ignore pattern matching on collectstatic command
Reported by: | Daniel Wiesmann | Owned by: | Daniel Wiesmann |
---|---|---|---|
Component: | contrib.staticfiles | Version: | dev |
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 |
Description
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 (3)
comment:1 by , 7 years ago
Has patch: | set |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:2 by , 7 years ago
Patch needs improvement: | set |
---|
comment:3 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
In 8f75d21a: