bootstrap.css
{% templatetag openblock %} compress css {% templatetag closeblock %}
<link rel="stylesheet" href="{% templatetag openvariable %} STATIC_URL {% templatetag closevariable %}vendor/css/bootstrap.css">
<link rel="stylesheet" href="{% templatetag openvariable %} STATIC_URL {% templatetag closevariable %}vendor/css/bootstrap-responsive.css">
{% templatetag openblock %} endcompress {% templatetag closeblock %}
Django compressor is used to combine and minify the Twitter Bootstrap
files. This way we can use the development versions while in development
and then painlessly switch to a joined, minified and compressed version
automatically in production.
main.css
{% templatetag openblock %} compress css {% templatetag closeblock %}
<link rel="stylesheet" href="{% templatetag openvariable %} STATIC_URL {% templatetag closevariable %}css/main.css">
{% templatetag openblock %} endcompress {% templatetag closeblock %}
Django Compressor is also used when referencing our CSS files internally.
Because we Django Compressor here you should aim to keep your CSS in
logical files and not just include all the properties in main.css. To
include additional CSS files, just list them after main.css inside the
{% templatetag openblock %} compress css {% templatetag closeblock %} block.