jezdez/django-staticfiles — pull request #21 by dbinit (2011-12-28 22:23:00+00:00)
Title: Added optional "ignore patterns" to STATICFILES_DIRS.

Hello,

I have found the optional prefix in STATICFILES_DIRS to be very powerful except I needed it to exclude certain subdirectories and files during "collectstatic".

Seeing as there is a command line option to ignore certain file patterns, I thought it would make sense to expose that option in STATICFILES_DIRS so that it could be restricted to an individual root rather than be global.

I've added documentation as well as tests, though you'll have to forgive me for not actually running the tests. I haven't taken the time to figure out how to set up the test environment yet. It looks like I need to do some reading on tox and jenkins.

Let me know if it needs work. Thanks!