* manage.py file at the root of the project * targetting the project located at tests/test_project/settings.py That allows testing the linter through just calling it on the project itself. Using the new method coming soon: `python manage.py lintmigrations`
7 lines
159 B
Python
7 lines
159 B
Python
from django.db import models
|
|
|
|
|
|
class A(models.Model):
|
|
null_field = models.IntegerField(null=True)
|
|
new_not_null_field = models.IntegerField(null=False)
|