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<https://github.com/django/django/blob/master/django/contrib/staticfiles/utils.py#L29-L32> 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. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/90be2650-cf11-4600-922b-f9604248d9a3%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
