Detail: django_compress (html)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
<!-- BEFORE COMPRESS -->
    <!-- CSS -->
    {% load compress %}
    {% compress css %}
    <link rel="stylesheet" media="all" type="text/css" href="{{ MEDIA_URL }}bootstrap/bootstrap.css" />
    <link rel="stylesheet" media="all" type="text/css" href="{{ MEDIA_URL }}css/custom.css" />
    <link rel="stylesheet" media="all" type="text/css" href="{{ MEDIA_URL }}css/backward.css" />
    <link rel="stylesheet" media="all" type="text/css" href="{{ MEDIA_URL }}css/pygments.css" />
    {% endcompress %}
    <!-- CSS -->


<!-- AFTER COMPRESS -->
    <!-- CSS -->
    <link rel="stylesheet" href="/media/CACHE/css/317dd0bc2b00.css" type="text/css" media="all" />
    <!-- CSS -->

[raw] - Pasted by: r0sk on html on Oct. 21, 2011