Fix/revisit docs
Started with a follow-up to fa9b2f97, which missed applying the fix to
docs, and then added some more while reading it.
This commit is contained in:
1 parent
7520735aa2
commit
6ba4010381
3 files changed
+14
-10
No files matched your search
@@ -1,6 +1,6 @@
|
||||
# makemigrations
|
||||
|
||||
The linter can override behaviour of the [Django makemigrations command](https://docs.djangoproject.com/en/dev/ref/django-admin/#django-admin-makemigrations).
|
||||
The linter can override the behaviour of the [Django makemigrations command](https://docs.djangoproject.com/en/dev/ref/django-admin/#django-admin-makemigrations).
|
||||
|
||||
Either:
|
||||
* by specifying the `--lint` option in the command line
|
||||
@@ -16,6 +16,11 @@ 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 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] n
|
||||
Deleted tests/test_project/app_correct/migrations/0003_a_column.py
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user