Merge pull request #540 from lukaszb/patch-2

Types at readme (-engine should be --engine)
This commit is contained in:
Aron Griffis
2014-07-18 10:25:54 -04:00

View File

@@ -46,9 +46,9 @@ This can be a lamda or function that returns a Jinja2 environment.
Usage Usage
----- -----
Run the following compress command along with an ``-engine`` parameter. The Run the following compress command along with an ``--engine`` parameter. The
parameter can be either jinja2 or django (default). For example, parameter can be either jinja2 or django (default). For example,
"./manage.py compress -engine jinja2". "./manage.py compress --engine jinja2".
Using both Django and Jinja2 templates Using both Django and Jinja2 templates
-------------------------------------- --------------------------------------
@@ -62,7 +62,7 @@ A typical usage could be :
- "./manage.py compress" for processing Django templates first, skipping - "./manage.py compress" for processing Django templates first, skipping
Jinja2 templates. Jinja2 templates.
- "./manage.py compress -engine jinja2" for processing Jinja2 templates, - "./manage.py compress --engine jinja2" for processing Jinja2 templates,
skipping Django templates. skipping Django templates.
However, it is still recommended that you do not mix Django and Jinja2 However, it is still recommended that you do not mix Django and Jinja2
@@ -172,4 +172,3 @@ Jinja2 alone (with custom loader) are tested and work on Python 2.6, 2.7 and
.. _Jinja2: http://jinja.pocoo.org/docs/ .. _Jinja2: http://jinja.pocoo.org/docs/
.. _Coffin: http://pypi.python.org/pypi/Coffin .. _Coffin: http://pypi.python.org/pypi/Coffin
.. _Jingo: https://jingo.readthedocs.org/en/latest/ .. _Jingo: https://jingo.readthedocs.org/en/latest/