django-setuptest
django-setuptest copied to clipboard
Migrate instead of syncdb in 1.7
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'