Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
commit 12146f34fd029e26dad7eea73dbb91b93c37f227 1 parent f15a5c7
Russell Keith-Magee authored September 10, 2007

Showing 1 changed file with 1 addition and 5 deletions. Show diff stats Hide diff stats

  1. 6  django/db/models/loading.py
6  django/db/models/loading.py
@@ -52,11 +52,7 @@ def _populate(self):
52 52
             for app_name in settings.INSTALLED_APPS:
53 53
                 if app_name in self.handled:
54 54
                     continue
55  
-                try:
56  
-                    self.load_app(app_name, True)
57  
-                except Exception, e:
58  
-                    # Problem importing the app
59  
-                    self.app_errors[app_name] = e
  55
+                self.load_app(app_name, True)
60 56
             if not self.nesting_level:
61 57
                 for app_name in self.postponed:
62 58
                     self.load_app(app_name)

0 notes on commit 12146f3

Please sign in to comment.
Something went wrong with that request. Please try again.