Since I use htmx, I changed the way I develop with Django.
I use format_html() to have everything in one place now.
This means I need to type
foo=foo, bar=bar over and over again to get the variables
I would like to get something like Pythons f-string with support for conditional_escape().
First I created my idea here: GitHub - guettli/python-custom-strings: Python Custom Strings (pre PEP)
And now I found that PEP 501 already exists and would solve this.
AFAIK, to get support from IDEs and linters, we need to change Python. This can’t be handled at the library level.
Would you support PEP-501 if it would be available in Python?
Do you have an advice: What could I do as next step now?