Closed GuillaumeGomez closed 2 months ago
Applied suggestions and also added the string
filter.
What's the point of the string
filter if simply using an expression already relies on Display
?
In case you want to do operation on the generated string?
Do you have an actual use case for that?
Not personally. My potential use case would be to format a struct that was turned into a string. But I could write my own filter for that. I can remove the second commit of the PR if you're not convinced. ;)
Not personally. My potential use case would be to format a struct that was turned into a string. But I could write my own filter for that. I can remove the second commit of the PR if you're not convinced. ;)
Yeah, let's wait until someone comes up with a use case.
Removed it!
Updated the book and replaced the fold
iterator with a for
loop.
Part of https://github.com/djc/askama/issues/18.
I also used this opportunity to update the list in the first message of the issue.