mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-10-23 08:49:04 +00:00
[Fixture] 修改asset detail
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
from . import User, UserGroup
|
||||
|
||||
|
||||
def initial_model():
|
||||
def init_model():
|
||||
for cls in [User, UserGroup]:
|
||||
if getattr(cls, 'initial'):
|
||||
cls.initial()
|
||||
|
Reference in New Issue
Block a user