PEP-8 before working on #99

This commit is contained in:
Daniel Greenfeld 2013-05-20 18:09:58 +02:00
parent b9ca57bd00
commit 4f08ea2165
2 changed files with 0 additions and 2 deletions

View file

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

View file

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