0đź‘Ť
Unfortunately you can’t do that. because currently django collectstatic
management command, doesn’t support ignoring path. you can just use name of folders and pass it as as --ignore
input.
So in your case collectstatic
can ignore the folder with name sample
, but others are path and can’t be ignored. (I know it’s not a good answer to hear, but that’s what it is currently on django)
👤user10819040
Source:stackexchange.com