mirror of
https://github.com/jazzband/django-admin2.git
synced 2026-03-27 19:40:32 +00:00
PEP-8 before working on #99
This commit is contained in:
parent
b9ca57bd00
commit
4f08ea2165
2 changed files with 0 additions and 2 deletions
|
|
@ -83,7 +83,6 @@ class Admin2(object):
|
|||
Autodiscovers all admin2.py modules for apps in INSTALLED_APPS by
|
||||
trying to import them.
|
||||
"""
|
||||
apps = []
|
||||
for app_name in [x for x in settings.INSTALLED_APPS]:
|
||||
try:
|
||||
import_module("%s.admin2" % app_name)
|
||||
|
|
|
|||
|
|
@ -9,4 +9,3 @@ def admin2_urlname(view, action):
|
|||
Converts the view and the specified action into a valid namespaced URLConf name.
|
||||
"""
|
||||
return 'admin2:%s_%s_%s' % (view.app_label, view.model_name, action)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue