Replies: 1 comment 1 reply
-
|
Custom filters v0.14: https://askama.readthedocs.io/en/v0.14.0/filters.html#custom-filters |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've been putting this off because of the amount of breaking changes and effort, but finally doing it now. Full code in bobashare. A few issues/questions:
0.13 ✔️
Upgrading from 0.12 to 0.13, there was a breaking change since the MIME_TYPE associated const was removed. I was using this to set the
content-typeheader in my responses. I fixed it by just hardcoding the return to be HTML since presumably askama will always render HTML output. Does this seem sound?0.14 ❓
Honestly I am lost. I switched the version from 0.13 to 0.14 and I get a bunch of errors like this, for every single template:
I can't really understand enough to tell if this lines up with a specific change in the changelog. Any idea what's going on?
0.15
Need to get 0.14 upgrade working before I can do 0.15. Hoping nothing big breaks.
Beta Was this translation helpful? Give feedback.
All reactions