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

Prevent error with Jinja2 v3.1 #2795

Closed
wants to merge 1 commit into from

Conversation

mondeja
Copy link
Contributor

@mondeja mondeja commented Mar 10, 2022

Fixes #2794

See Jinja2 v3.0.0 changes:

The function and filter decorators have been renamed and unified. The old names are deprecated...

  • pass_context replaces contextfunction and contextfilter.

jaydesl added a commit to DIGITbrain/digitbrain.github.io that referenced this pull request Mar 24, 2022
@jacobhzen
Copy link

Can we get this merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DeprecationWarning 'contextfilter' is renamed to 'pass_context', the old name will be removed in Jinja 3.1
4 participants