We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I've spent the last 10 minutes looking for how to add a global to jinja2 environment (get_env, code).
For example, adding the zip function:
zip
env = aiohttp_jinja2.get_env(app) env.globals.update(zip=zip)
It appears to me as basic and that would be nice to have it referenced, but maybe I'm wrong ^^
The text was updated successfully, but these errors were encountered:
Feel free to make a pull request, please
Sorry, something went wrong.
The change is published in 1.1.2 release.
No branches or pull requests
I've spent the last 10 minutes looking for how to add a global to jinja2 environment (get_env, code).
For example, adding the
zip
function:It appears to me as basic and that would be nice to have it referenced, but maybe I'm wrong ^^
The text was updated successfully, but these errors were encountered: