I am using cookiecutter to create a tornado project, using this template (it has several bugs, so you'll probably won't be able to use it out of the box). I have hit a problem which I do not know how to solve:
jinja2.exceptions.TemplateSyntaxError: unexpected char '\\' at 124272
File "./{{cookiecutter.project_slug}}/static/swagger/lib/jsoneditor.min.js", line 10
I am not sure, but I have the impression that cookiecutter
is trying to Jinja-process the jsoneditor.min.js
, which is not supposed to happen, since the "templating" in that file is not supposed to be processed by cookiecutter
, it just happens to include the same escape characters that Jinja
is using.
Is it possible to tell cookiecutter
not to process files inside a certain directory? This is probably a matter of properly setting up the cookiecutter
template, but not sure how this can be specified.