Ticket #10887: 10887.diff
File 10887.diff, 635 bytes (added by , 15 years ago) |
---|
-
django/contrib/admin/__init__.py
37 37 # should) bubble up, but a missing __path__ (which is legal, but weird) 38 38 # fails silently -- apps that do weird things with __path__ might 39 39 # need to roll their own admin registration. 40 mod = import_module(app) 40 41 try: 41 app_path = import_module(app).__path__42 app_path = mod.__path__ 42 43 except AttributeError: 43 44 continue 44 45