Does django-compressor work with template inheritance?
问题 I'm using django-compressor to compress my site's static CSS and Javascript files. Since I serve my site's static assets via Amazon S3, I'm also using django-storages to upload my files to S3. Here's my issue: I'm trying to make a clean base.html template that all my site's other templates can inherit and extend. Here's what it looks like currently: {% load compress %} <html> <head> <!-- test --> {% compress css %} <link rel="stylesheet" type="text/css" media="screen" href="{{ STATIC_URL }