Is Django's manage.py syncdb or South used to create the test database?
- by Thierry Lam
With Django 1.1.1 and South 0.62, running a test from the CLI usually have the following output:
Creating table some_model
Installing index for my_app.SomeModel model
.
-----
Ran 1 test in 1s
OK
After upgrading to South 0.7, the output is invoking South's migration:
Creating table some_model
Installing index for my_app.SomeModel model
Migrating...
Running migrations for my_app:
- Migrating forwards to 0001_initial
> my_app:0001_initial
- Loading initial data for my_app
Migrated:
- my_app
.
-----
Ran 1 test in 1s
OK
To create the test DB, has the test always used South migration in the past(before South 0.7) even if the output is not explicitly being shown?