Tags→ #Django
-
Disabling DJLint on non-Django projects
Finally found out how to stop the annoying "djLint is not installed for the current active Python interpreter" modal window on VSCode.
-
Fixing autoformatting Django templates in Visual Studio Co
Prettier autoformatting screws up Django html templates in Visual Studio Code. For example, it puts tags on the same line when they shouldn't be. The fix is pretty simple and involves a couple of different formatting extension.