Ticket #7421: patch.patch

File patch.patch, 683 bytes (added by fijal, 7 years ago)
  • django/core/management/commands/syncdb.py

     
    4444                # Python implementations may not use the same text. CPython
    4545                # uses the text "No module named management".
    4646                msg = exc.args[0]
    47                 if not msg.startswith('No module named management') or 'management' not in msg:
     47                if not msg.startswith('No module named') or 'management' not in msg:
    4848                    raise
    4949
    5050        cursor = connection.cursor()
Back to Top