Hi all,
I'm working on a project where I want to ignore certain files when running collectstatic.
I am having success only when i use 'basename' patterns, such as *.exe or vendor, but not when trying to match file paths, such as vendor/*.exe.
It seems the reason i'm not seeing the behavior i expect is because django.contrib.staticfiles.utils.get_files only checks the ignore patterns on the base names (for both files and directories), but does not check the full file path.
Is this the correct behavior, or a bug? If it is the correct behavior, what is the recommended approach for gaining more fine-grained control over what is collected by collectstatic?
Thanks in advance for any consideration.