Is Django's manage.py syncdb or South used to create the test database?
Posted
by Thierry Lam
on Stack Overflow
See other posts from Stack Overflow
or by Thierry Lam
Published on 2010-03-26T15:11:13Z
Indexed on
2010/03/26
15:13 UTC
Read the original article
Hit count: 285
django
|django-south
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?
© Stack Overflow or respective owner