Merge pull request #540 from lukaszb/patch-2
Types at readme (-engine should be --engine)
This commit is contained in:
@@ -46,9 +46,9 @@ This can be a lamda or function that returns a Jinja2 environment.
|
||||
|
||||
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,
|
||||
"./manage.py compress -engine jinja2".
|
||||
"./manage.py compress --engine jinja2".
|
||||
|
||||
Using both Django and Jinja2 templates
|
||||
--------------------------------------
|
||||
@@ -62,7 +62,7 @@ A typical usage could be :
|
||||
|
||||
- "./manage.py compress" for processing Django templates first, skipping
|
||||
Jinja2 templates.
|
||||
- "./manage.py compress -engine jinja2" for processing Jinja2 templates,
|
||||
- "./manage.py compress --engine jinja2" for processing Jinja2 templates,
|
||||
skipping Django templates.
|
||||
|
||||
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/
|
||||
.. _Coffin: http://pypi.python.org/pypi/Coffin
|
||||
.. _Jingo: https://jingo.readthedocs.org/en/latest/
|
||||
|
||||
|
Reference in New Issue
Block a user