Closed pauloneves closed 11 years ago
As soon as you activate South in your project (as you seem to have done), syncdb only creates the tables for apps that are not managed by South. To create the other tables, use:
python manage.py migrate
To create all (when starting afresh) use:
python manage.py syncdb --all
After the installation and configuration, I've run ./manage.py syncdb and stumbled in a weird behaviour. Some models were synced and others not:
Synced:
Not synced (use migrations):
I didn't understand why the last two models weren't created. Here is the output of the tables in my database:
mysql> show tables like '%accou%'; +--------------------------------+ | Tables_in_sambachoro (%accou%) | +--------------------------------+ | account_emailaddress | | account_emailconfirmation | | socialaccount_socialaccount | | socialaccount_socialapp | | socialaccount_socialapp_sites | | socialaccount_socialtoken | +--------------------------------+
Is it correct?