mirror of
				https://github.com/django/django.git
				synced 2025-10-30 17:16:10 +00:00 
			
		
		
		
	Fixed #6038 -- Don't hide some types of errors in syncdb. Thanks, Thomas Güttler.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6829 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		| @@ -33,8 +33,9 @@ class Command(NoArgsCommand): | ||||
|         for app_name in settings.INSTALLED_APPS: | ||||
|             try: | ||||
|                 __import__(app_name + '.management', {}, {}, ['']) | ||||
|             except ImportError: | ||||
|                 pass | ||||
|             except ImportError, exc: | ||||
|                 if not exc.args[0].startswith('No module named management'): | ||||
|                     raise | ||||
|  | ||||
|         cursor = connection.cursor() | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user