mirror of
https://github.com/jazzband/django-admin2.git
synced 2026-04-27 18:14:46 +00:00
Merge b0fa3b566b into 7770da8a49
This commit is contained in:
commit
244d4507ef
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ class Admin2:
|
|||
|
||||
# if no more models in an app's registry
|
||||
# then delete the app from the apps.
|
||||
if self.apps[app_label] is {}:
|
||||
if not len(self.apps[app_label]):
|
||||
del self.apps[app_label] # no
|
||||
|
||||
def register_app_verbose_name(self, app_label, app_verbose_name):
|
||||
|
|
|
|||
Loading…
Reference in a new issue