Tera Template Linter and Formatter

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

What is Tera?

∞ Using the Command Line

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

∞ Or, Use a Config File

Configure djLint in your projects pyproject.toml.

[tool.djlint]
profile="tera"
Edit this page Updated Oct 2, 2026