OnroerendErfgoed / atramhasis_demo_cookiecutter

0 stars 1 forks source link

Remove jinja2.ext.with include #3

Closed goessebr closed 2 years ago

goessebr commented 2 years ago

Since 3.1.0 It is not longer possible to include the with extension, this extension is now built-in. Trying to include this extension will prevent the application from starting up

More info: The https://jinja.palletsprojects.com/en/3.1.x/changes/#version-3-1-0 and https://github.com/pallets/jinja/pull/1544/files

WithExtension and AutoEscapeExtension are built-in now.

I'm not sure we are using with in this application anyway, but the linejinja2.ext.with_ needs to be removed out of the ini file(s).