Files
django-migration-linter/tests/test_project/app_ignore_migration/models.py
T
David Wobrock 26ed4ecf62 Tests: add test project
* 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`
2019-05-12 15:32:57 +02:00

7 lines
147 B
Python

from django.db import models
class B(models.Model):
null_field = models.IntegerField()
null_field_real = models.IntegerField(null=False)