Django Template Linter and Formatter

djLint is a django template linter and a django template formatter! Take advantage of the pre-build profile when linting and formatting your templates with djLint.

What is Django?

Using the Command Line

djlint /path/to/templates --profile=django

Or, Use a Config File

Configure djLint in your projects pyproject.toml.

Edit this page Updated Jun 30, 2022