summaryrefslogtreecommitdiff
path: root/django/db/models/loading.py
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2007-09-10 07:00:46 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2007-09-10 07:00:46 +0000
commit12146f34fd029e26dad7eea73dbb91b93c37f227 (patch)
tree569fad6588bc64b8955855516a5b7519a1047abc /django/db/models/loading.py
parentf15a5c7abb55b37ec2928e7afb38df0081e68226 (diff)
Removed code that was recasting major errors found during application import. If an application can't be imported, it now throws a full stack trace with the problem, rather than reporting the problem as a one line message.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6087 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/db/models/loading.py')
-rw-r--r--django/db/models/loading.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/django/db/models/loading.py b/django/db/models/loading.py
index 090390aa9e..e7d134e6da 100644
--- a/django/db/models/loading.py
+++ b/django/db/models/loading.py
@@ -52,11 +52,7 @@ class AppCache(object):
for app_name in settings.INSTALLED_APPS:
if app_name in self.handled:
continue
- try:
- self.load_app(app_name, True)
- except Exception, e:
- # Problem importing the app
- self.app_errors[app_name] = e
+ self.load_app(app_name, True)
if not self.nesting_level:
for app_name in self.postponed:
self.load_app(app_name)