Closed w- closed 7 years ago
Hey, thanks for the pull request. Unfortunately, I cannot accept this. Changing only this one will make things inconsistent as everything else uses double quotes.
There are a lot of users who've been using Djaneiro for years and this would be a big surprise for them.
Besides, I don't really see the point. What are those editors you are referring to? ST3 handles cases like this with no problem. PyCharm, for example, doesn't have any issues with this either.
ST3 handles cases like this with no problem
Hmm... interesting. I'm using ST3 and is the reason I submitted this. It handles this case out of the box? Because on my end it doesn't. (light green/blue/teal here indicates an html tag attribute)
This is intentional to make arguments of Django tags and filters more readable.
Static tag is typically used to get the url of static assets for use in tags like img, script and link. Defaulting to double quotes screws up syntax highlighting for editors because the default delimiter in html is the double quote.