In Django 1.3, django.contrib.staticfiles provides a nice “blessed” solution to managing static files, like a site’s CSS, Javascript, and images.
However, I don’t see an obvious way to integrate arbitrary static file preprocessors (concat/minify CSS/JS, spritesheet autogen a la SmartSprite, etc.) with the staticfiles app.
Do any projects/snippets/solutions exist for this that will integrate well with django.contrib.staticfiles?
django-compressor have support for this, asking you to add ‘compressor.finders.CompressorFinder’ to the STATICFILES_FINDERS setting. I guess you can use or spy their code to see what they have done to achieve this.