Ticket #7421: pypy-compatible.patch
File pypy-compatible.patch, 648 bytes (added by , 16 years ago) |
---|
-
django/core/management/commands/syncdb.py
34 34 try: 35 35 __import__(app_name + '.management', {}, {}, ['']) 36 36 except ImportError, exc: 37 if not exc.args[0].startswith('No module named management'): 37 msg = exc.args[0] 38 if not msg.startswith('No module named') or 'management' not in msg: 38 39 raise 39 40 40 41 cursor = connection.cursor()