Update info to CHANGELOG and README

This commit is contained in:
David Wobrock committed 2020-07-02 19:15:30 +02:00
1 parent ae84a5ffad
commit be7b9e58c3
2 files changed
+8 -1

No files matched your search

+2 -1
View File
@@ -1,6 +1,7 @@
## 2.4.0
* Add possibility to lint newly generated migrations through the `makemigrations` command
* Add possibility to lint newly generated migrations through the `makemigrations` command.
You can activate it through the `--lint` command option, or by default with the `MIGRATION_LINTER_OVERRIDE_MAKEMIGRATIONS = True` Django settings.
## 2.3.0
+6
View File
@@ -66,6 +66,12 @@ Migrations for 'app_correct':
Linting for 'app_correct':
(app_correct, 0003_a_column)... ERR
NOT NULL constraint on columns
The migration linter detected that this migration is not be backward compatible.
- If you keep the migration, you will want to fix the issue or ignore the migration.
- By default, the newly created migration file will be deleted.
Do you want to keep the migration? [y/N]
[...]
Deleted tests/test_project/app_correct/migrations/0003_a_column.py
```