$ python manage.py install admin
Traceback (most recent call last):
File "manage.py", line 11, in ?
execute_manager(settings)
File "/usr/local/lib/python2.3/site-packages/Django-0.91-py2.3.egg/django/core/management.py", line 1171, in execute_manager
execute_from_command_line(action_mapping)
File "/usr/local/lib/python2.3/site-packages/Django-0.91-py2.3.egg/django/core/management.py", line 1130, in execute_from_command_line
mod_list = [models.get_app(app_label) for app_label in args[1:]]
File "/usr/local/lib/python2.3/site-packages/Django-0.91-py2.3.egg/django/db/models/loading.py", line 27, in get_app
raise ImproperlyConfigured, "App with label %s could not be found" % app_label
NameError: global name 'ImproperlyConfigured' is not defined
Patch:
Index: django/db/models/loading.py
===================================================================
--- django/db/models/loading.py (revision 2158)
+++ django/db/models/loading.py (working copy)
@@ -1,6 +1,7 @@
"Utilities for loading models and the modules that contain them."
from django.conf import settings
+from django.core.exceptions import ImproperlyConfigured
__all__ = ('get_apps', 'get_app', 'get_models', 'get_model')
(In [2164]) magic-removal: Fixed #1293 -- Added missing exception. Thanks, chad.cornsilk.net