Tera Template Linter and Formatter

djLint is a Tera template linter and a Tera template formatter! Take advantage of the pre-built 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 project’s pyproject.toml, djlint.toml / .djlint.toml, or .djlintrc file.

[tool.djlint]
profile="tera"
profile="tera"
{ "profile": "tera" }