refactor(initialize script): catalog changes

pull/52/head
Angelo 2022-04-26 08:33:10 +08:00
parent c89148f681
commit 84fb04eb3e
3 changed files with 1 additions and 2 deletions

View File

@ -15,7 +15,6 @@ from dvadmin.system.models import (
MenuButton, MenuButton,
Role, Role,
Users, Users,
Dictionary,
) )
from .init_data import ( from .init_data import (

View File

@ -36,7 +36,7 @@ class Command(BaseCommand):
try: try:
exec( exec(
f""" f"""
from {app}.util.initialize import main from {app}.initialize import main
main(reset={reset}) main(reset={reset})
""" """
) )