├── MANIFEST.in ├── README.rst ├── __init__.py ├── setup.py └── tmin ├── __init__.py └── management ├── __init__.py └── commands ├── _JavascriptMinify.py ├── _ManageMinimizers.py ├── _SimpleHTMLParser.py ├── _TemplateTextMinimizer.py ├── __init__.py ├── _cssmin.py └── minimizetemplates.py /MANIFEST.in: -------------------------------------------------------------------------------- 1 | include *.rst 2 | include *.md 3 | include *.txt -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- 1 | django-template-minimizer 2 | ========================= 3 | 4 | For Django developers obsessed with performance. 5 | 6 | Minimize your templates once and not your HTML each time you serve it up. 7 | 8 | :Download: http://pypi.python.org/pypi/django-template-minimizer/ 9 | :Source: http://github.com/Charles-Kaminski/django-template-minimizer 10 | :License: MIT 11 | 12 | Run this Django command to minimize your Django templates. Eliminate the need to reprocess your HTML to minimize it; as the HTML is now being put together in minimized form. 13 | 14 | The command minimizes django templates along with the html, in-line ``bla`` 101 | 102 | 2. The minimizer collapses all white space not in a django tag, django variable, javascript, or inline css. This includes whitespace inside ``
``, ``