Skip to content

Commit

Permalink
Document compressing multiple engines at once
Browse files Browse the repository at this point in the history
  • Loading branch information
karyon committed Oct 31, 2016
1 parent 198fbc0 commit bb72b53
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions docs/jinja2.txt
Expand Up @@ -47,12 +47,9 @@ This should not be a problem since the Jinja2 parser will likely raise a
template syntax error, causing Compressor to skip the errorneous
template safely. (Vice versa for Django parser).

A typical usage could be :
Templates of both engines can be compressed like this:

- ``./manage.py compress`` for processing Django templates first, skipping
Jinja2 templates.
- ``./manage.py compress --engine jinja2`` for processing Jinja2 templates,
skipping Django templates.
- ``./manage.py compress --engine django --engine jinja2``

However, it is still recommended that you do not mix Django and Jinja2
templates in the same project.
Expand Down

0 comments on commit bb72b53

Please sign in to comment.