Open zamaev opened 1 year ago
html attribute can only use {{ }}. not {% %}
how to disable this error?
how do we disable this errors? it is happening when doing alpine.js in the template also. Just want to have it formatted :/
html attribute can only use {{ }}. not {% %}
I'd like to get this fixed. Do you mean that prettier doesn't allow Django's template tags in the html attributes? Because it isn't a constraint on the Django side, you can see them doing it here in the docs: https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#static
not about prettier. the plugin of prettier to format django doc required to do like that. the plugin is imperfect