Skip to content

Prevent error with Jinja2 v3.1#2795

Closed
mondeja wants to merge 1 commit intomkdocs:masterfrom
mondeja:jinja2-v3-pass_context
Closed

Prevent error with Jinja2 v3.1#2795
mondeja wants to merge 1 commit intomkdocs:masterfrom
mondeja:jinja2-v3-pass_context

Conversation

@mondeja
Copy link
Copy Markdown
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
Copy Markdown

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