8 lines
235 B
Python
8 lines
235 B
Python
from django_migration_linter.utils import split_migration_path
|
|
|
|
|
|
class Migration(object):
|
|
def __init__(self, abs_path):
|
|
self.abs_path = abs_path
|
|
self.app_name, self.name = split_migration_path(self.abs_path)
|