You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While testing nunjucks files in Jinja Environment(as part of the #3086), few examples showed ‘internal server error’. The main cause of this issue is the differences between Nunjucks (a templating language in JS environments and DS) and Jinja2 (a templating language used by flask in python). Macros need refactoring so it can suit Jinja2 template. This was addressed previously in #3080.
The errors are split up to simplify while refactoring.
components/share-page/example-share-page.njk threw error jinja2.exceptions.UndefinedError: 'list object' has no attribute 'push' : This is due to push, as a function, not identified by the lists in python. share-page needs refactoring
The text was updated successfully, but these errors were encountered:
While testing nunjucks files in Jinja Environment(as part of the #3086), few examples showed ‘internal server error’. The main cause of this issue is the differences between Nunjucks (a templating language in JS environments and DS) and Jinja2 (a templating language used by flask in python). Macros need refactoring so it can suit Jinja2 template. This was addressed previously in #3080.
The errors are split up to simplify while refactoring.
components/share-page/example-share-page.njk threw error
jinja2.exceptions.UndefinedError: 'list object' has no attribute 'push'
: This is due topush
, as a function, not identified by the lists in python. share-page needs refactoringThe text was updated successfully, but these errors were encountered: