Ticket #6038: syncdb_reraise_import_error.diff
File syncdb_reraise_import_error.diff, 621 bytes (added by , 17 years ago) |
---|
-
django/core/management/commands/syncdb.py
33 33 for app_name in settings.INSTALLED_APPS: 34 34 try: 35 35 __import__(app_name + '.management', {}, {}, ['']) 36 except ImportError: 37 pass 36 except ImportError, exc: 37 if exc.args[0] != 'No module named management': 38 raise 38 39 39 40 cursor = connection.cursor() 40 41