Skip to content

Commit

Permalink
修改init_permissions中app_models的作用域
Browse files Browse the repository at this point in the history
  • Loading branch information
Singein committed Apr 6, 2021
1 parent 8d41e65 commit de0ed3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
CHANGES
=======

* 修改init\_permissions
* 修改类名
* docs(ChangeLog): update ChangeLog about version[0.9.14]

Expand Down
1 change: 1 addition & 0 deletions DjangoAppCenter/extensions/apps/permission_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ def init_permissions(self):
return

for key, value in app_models.__dict__.items():
nonlocal app_models
if not isinstance(value, type):
continue

Expand Down

0 comments on commit de0ed3c

Please sign in to comment.