django-render-block
Render the content of a specific block tag from a Django template. (by clokep)
djLint
✨ HTML Template Linter and Formatter. Django - Jinja - Nunjucks - Handlebars - GoLang (by djlint)
django-render-block | djLint | |
---|---|---|
2 | 4 | |
213 | 599 | |
- | 3.3% | |
1.8 | 8.3 | |
9 months ago | 15 days ago | |
Python | Python | |
ISC License | GNU General Public License v3.0 only |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
django-render-block
Posts with mentions or reviews of django-render-block.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-02.
-
HTMX and Wagtail
How you handle breaking the template apart is really up to you, and doesn't have an impact on the Wagtail admin, which only cares about your Page. The author of HTMX is fond of a pattern he calls Template Fragments; to take that approach with Django/Wagtail, you'll want django-render-block. But that might be overkill depending on your use case.
-
Django templates - DTL, Jinja, JinjaX?
I don't use it since I'm not on the htmx boat (Unpoly fan here). But, I saw this one with good eyes if I ever migrate to htmx: https://github.com/clokep/django-render-block
djLint
Posts with mentions or reviews of djLint.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-10-04.
-
Django Code Formatting and Linting Made Easy: A Step-by-Step Pre-commit Hook Tutorial
- repo: https://github.com/Riverside-Healthcare/djLint rev: v1.32.0 hooks: - id: djlint-reformat-django - id: djlint-django
-
Improve your Django Code with pre-commit
For Django users, which you presumably are, this will be a God send! Check out the repo. This is an HTML linter... but for Django templates 🤯
-
Hugo no theme
There is also another gohtml file type formatter, you can find it here https://github.com/Riverside-Healthcare/djlint.
-
Django template formatter
djLint is far batter than djhtml. it has support for both formatting and linting.