peterbe / django-static

Template tags for better serving static files from templates in Django
BSD 2-Clause "Simplified" License
193 stars 28 forks source link

Use 1.3 contrib.staticfiles' finders to avoid needing to run collectstatic in dev mode #29

Closed Lacrymology closed 12 years ago

Lacrymology commented 12 years ago

I know you can turn django-static off during development, but sometimes you want to find whatever files are not being processed by it, so you need it on, and if collectstatic hasn't been run yet, django-static fails to find it.

If django.contrib.staticfiles.finders is available, this patch will use it (after failing to find a file with current django-static behavior) to find the wanted files, presumably in the apps' directories.

peterbe commented 12 years ago

FYI. I've sort of given up on django-static and I'm now using django-compressor instead on all my new projects.