Skip to content

fix: jinja2 contextfilter -> pass_context #35

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

Merged
merged 1 commit into from
Sep 12, 2023
Merged

Conversation

jackhodgkiss
Copy link
Contributor

Jinja2 3.1.0 has dropped contextfilter in favour of pass_filter

Fortunately pass_filter can be used as drop-in replacement contextfilter and has been used in projects such as tenks to resolve the same issue.

@jackhodgkiss jackhodgkiss requested a review from jovial September 11, 2023 14:13
@jackhodgkiss jackhodgkiss self-assigned this Sep 11, 2023
@jackhodgkiss jackhodgkiss requested a review from a team as a code owner September 11, 2023 14:13
@jackhodgkiss jackhodgkiss merged commit f206267 into main Sep 12, 2023
@jackhodgkiss jackhodgkiss deleted the contextfilter_fix branch September 12, 2023 09:15
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.

2 participants