Fixes in admin, now use lists, not dict
This commit is contained in:
parent
d736b36a7a
commit
f4f4e69a16
4 changed files with 12 additions and 6 deletions
|
|
@ -76,7 +76,7 @@ for app in config.apps:
|
|||
|
||||
arr_modules_admin={}
|
||||
|
||||
for app_load in config_admin.values():
|
||||
for app_load in config_admin:
|
||||
|
||||
#print(app)
|
||||
|
||||
|
|
@ -84,7 +84,7 @@ for app_load in config_admin.values():
|
|||
|
||||
arr_modules_admin[app_load[2]+'/']=import_module(app_load[1])
|
||||
#print(app_load[1])
|
||||
else:
|
||||
elif len(app_load)==4:
|
||||
|
||||
arr_modules_admin[app_load[2]+'/'+app_load[3]]=import_module(app_load[1])
|
||||
#print(app_load[1])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue