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

Already on GitHub? Sign in to your account

Add support for explicit inclusion #31

merged 2 commits into from Jan 8, 2013


None yet
2 participants

nvie commented Jan 8, 2013

This small patch adds support for explicit inclusion of Jinja2 templates. This is useful in situations where you are migrating to Jinja2 gradually. Instead of excluding apps, you can use this to partially migrate an app (i.e. some views use Jinja2, the rest still uses Django).

When JINGO_INCLUDE_PATTERN is set, Jingo is only used for files that match that pattern.

@jsocol jsocol pushed a commit that referenced this pull request Jan 8, 2013

James Socol Merge pull request #31 from nvie/master
Add support for explicit inclusion

@jsocol jsocol merged commit 1cc3c1e into jbalogh:master Jan 8, 2013

1 check passed

default The Travis build passed

jsocol commented Jan 8, 2013

Thanks, Vincent. Great idea 👍


nvie commented Jan 9, 2013

Great! Would you mind releasing a 0.6.1 with support for this, so I can
switch my dependency to the PyPI version again?


jsocol commented Jan 9, 2013

It's up on PyPI now


nvie commented Jan 9, 2013

Thanks! 🍻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment