django-migration-linter icon indicating copy to clipboard operation
django-migration-linter copied to clipboard

App names incorrect

Open pirelle opened this issue 1 year ago • 2 comments

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 avatar Jul 28 '23 14:07 pirelle

@pirelle this is the same as #248 and #249 right?

phillipuniverse avatar Aug 15 '23 01:08 phillipuniverse

@pirelle this is the same as #248 and #249 right?

Yes, you are right

pirelle avatar Aug 15 '23 03:08 pirelle