Django-compressor and template tags in Django
问题 Recently I have tried Django-Compressor. It's awesome and i like it too much, but i am having some troubles with offline compression ( COMPRESS_OFFLINE = True ) and template tags. I have {{ django_vars }} and {% django_tags %} inside my JS code and i guess Google Clousure compiler (the filter what i'm using with Django-Compressor) doesn't know to identify them. In fact, I think Django template structures like {% if something %} are deleted. How can i do to keep all this template vars/tags in