Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[jinja] Allow import/include/extends templates #14

Open
benoitbryon opened this issue Oct 12, 2014 · 0 comments
Open

[jinja] Allow import/include/extends templates #14

benoitbryon opened this issue Oct 12, 2014 · 0 comments
Labels
Milestone

Comments

@benoitbryon
Copy link
Member

Currently: jinja engine uses Template class.
But using {% import %} or {% include %} in templates fails, because the loader isn't setup.
Should be: use Environment and a loader (see also #15).
So that import/extends/include works as expected.

Original discussion at diecutter/diecutter#16

@benoitbryon benoitbryon added this to the Later milestone Oct 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant