Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
  • Loading branch information...
commit 12146f34fd029e26dad7eea73dbb91b93c37f227 1 parent f15a5c7
@freakboy3742 freakboy3742 authored
Showing with 1 addition and 5 deletions.
  1. +1 −5 django/db/models/loading.py
View
6 django/db/models/loading.py
@@ -52,11 +52,7 @@ def _populate(self):
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)
Please sign in to comment.
Something went wrong with that request. Please try again.