django-migration-linter
django-migration-linter copied to clipboard
App names incorrect
Hi! In the link below, application name is taken from the migration file path, and then compared with self.migration_loader.disk_migrations
which is wrong, since app name can be defined in some_app/apps.py::DefaultConfig::label
and can have any name
https://github.com/3YOURMIND/django-migration-linter/blob/3503367f1fcb34e633577cf70df9ab037d1f394c/django_migration_linter/migration_linter.py#L387C42-L387C42
@pirelle this is the same as #248 and #249 right?
@pirelle this is the same as #248 and #249 right?
Yes, you are right