django-migration-linter
:rocket: Detect backward incompatible migrations for your django project (by 3YOURMIND)
djLint
✨ HTML Template Linter and Formatter. Django - Jinja - Nunjucks - Handlebars - GoLang (by djlint)
Our great sponsors
django-migration-linter | djLint | |
---|---|---|
3 | 4 | |
509 | 598 | |
2.0% | 7.2% | |
7.1 | 8.3 | |
about 1 month ago | 11 days ago | |
Python | Python | |
Apache License 2.0 | 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-migration-linter
Posts with mentions or reviews of django-migration-linter.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-08-18.
-
How do you verify the safety of database schema migrations?
https://github.com/3YOURMIND/django-migration-linter running before tests in CI, with some extra stuff that only warns by default set up to error out as well, for example non-async index create/drop.
-
Schema Migrations and Avoiding Downtime
A tool I've used with Django in the past is the one: https://github.com/3YOURMIND/django-migration-linter
It helps with the problem that if you're running several application servers it's important to avoid migrations that are backwards incompatible - since if some of your application servers haven't yet updated to the latest code you could get errors when they try to run queries against the migrates database.
-
Does anyone use ci/cd for deploying database changes?
There's actually a Django package called django-migration-linter that can help with this by spotting migrations that could break under that condition: https://github.com/3YOURMIND/django-migration-linter
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.
What are some alternatives?
When comparing django-migration-linter and djLint you can also consider the following projects:
Flask-Migrate - SQLAlchemy database migrations for Flask applications using Alembic
null-ls.nvim - Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.