[Fixture] 修改asset detail

This commit is contained in:
ibuler
2017-04-04 11:14:59 +08:00
parent 97fb2a4fe6
commit ac3553babb
8 changed files with 54 additions and 18 deletions

View File

@@ -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()