Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move the waffle helpers to a proper Jinja2 extension. Add it with 'waffle.jinja.WaffleExtension', to get the globals. This supports both jingo (JINJA_OPTIONS) and django-jinja with Django 1.8 (TEMPLATES[]['OPTIONS']['extensions']).
- Loading branch information
Showing
4 changed files
with
72 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters