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
After run a test suite in my project, I got the following warning:
DeprecationWarning: The 'autoescape' extension is deprecated and will be removed in Jinja 3.1. This is built in now.
Looking in the Jinja documentation (changelog), I confirmed the message. So, I believe the self.env.add_extension('jinja2.ext.autoescape') in the _prepare_environment method (on core.py file) isn't necessary and should be removed.
The text was updated successfully, but these errors were encountered:
After run a test suite in my project, I got the following warning:
Looking in the Jinja documentation (changelog), I confirmed the message. So, I believe the
self.env.add_extension('jinja2.ext.autoescape')
in the_prepare_environment
method (on core.py file) isn't necessary and should be removed.The text was updated successfully, but these errors were encountered: