django-setuptest icon indicating copy to clipboard operation
django-setuptest copied to clipboard

Migrate instead of syncdb in 1.7

Open bufke opened this issue 9 years ago • 0 comments

If south is installed on the host it will attempt to syncdb and migrate.

  File "/usr/local/lib/python2.7/dist-packages/setuptest/setuptest.py", line 52, in __init__
    patch_for_test_db_setup()
  File "/usr/local/lib/python2.7/dist-packages/south/management/commands/__init__.py", line 34, in patch_for_test_db_setup
    management._commands['syncdb'] = MigrateAndSyncCommand()
AttributeError: 'module' object has no attribute '_commands'

bufke avatar Sep 18 '14 22:09 bufke