25 |
26 |
Test page
27 |
28 |
29 |
30 |
31 |
32 | {% include "showicons.html" %}
33 |
34 | {% staticall %}
35 |
Some images
36 |
37 |
38 |
39 |
42 |
43 |
44 | {% endstaticall %}
45 |
46 | {% slimcontent %}
47 |
Benefits of django-static
48 |
49 |
50 | -
51 | Uses slimmer
52 |
53 |
54 | - Full control over your static serving
55 |
56 | - Rewrites urls in .css files for static serving
57 |
58 | - Uses symbolic links to make it easy to set up aggressive caching in fronting web server (e.g. nginx)
59 |
60 |
61 | {% endslimcontent %}
62 |
63 |
Stricken through
64 |
Italic text
65 |
66 |
67 |
68 |
69 |
70 |
91 |
92 |
93 |
94 | {% slimall %}
95 |
96 |
97 | {% endslimall %}
98 |
99 |
100 |
--------------------------------------------------------------------------------
/exampleapp/templates/showicons.html:
--------------------------------------------------------------------------------
1 | {% load django_static %}
2 |