Add django-migration-linter to ensure django migrations are tippy-top

This commit is contained in:
Oliver Walters 2021-02-03 23:29:14 +11:00
parent 34dbfe6d28
commit bd9447d9aa
2 changed files with 2 additions and 0 deletions

View File

@ -213,6 +213,7 @@ INSTALLED_APPS = [
'djmoney', # django-money integration 'djmoney', # django-money integration
'djmoney.contrib.exchange', # django-money exchange rates 'djmoney.contrib.exchange', # django-money exchange rates
'error_report', # Error reporting in the admin interface 'error_report', # Error reporting in the admin interface
'django_migration_linter', # Linting checking for migration files
] ]
MIDDLEWARE = CONFIG.get('middleware', [ MIDDLEWARE = CONFIG.get('middleware', [

View File

@ -31,5 +31,6 @@ django-money==1.1 # Django app for currency management
certifi # Certifi is (most likely) installed through one of the requirements above certifi # Certifi is (most likely) installed through one of the requirements above
django-error-report==0.2.0 # Error report viewer for the admin interface django-error-report==0.2.0 # Error report viewer for the admin interface
django-test-migrations==1.1.0 # Unit testing for database migrations django-test-migrations==1.1.0 # Unit testing for database migrations
django-migration-linter==2.5.0 # Linting checks for database migrations
inventree # Install the latest version of the InvenTree API python library inventree # Install the latest version of the InvenTree API python library