Ticket #8596: __init__.py.patch
File __init__.py.patch, 578 bytes (added by , 16 years ago) |
---|
-
django/contrib/admin/__init__.py
25 25 app_path = __import__(app, {}, {}, [app.split('.')[-1]]).__path__ 26 26 except AttributeError: 27 27 continue 28 except ImportError: 29 continue 28 30 29 31 # Step 2: use imp.find_module to find the app's admin.py. For some 30 32 # reason imp.find_module raises ImportError if the app can't be found