django mysql syncdb doesn't create tables in models.py -


i have server using django. i'm trying switch database sqlite3 mysql. worked fine sqlite3 before. however, when use mysql , do

python manage.py syncdb 

i didn't error, tables specified in models.py not created. following tables created:

[ec2-user@domu-12-31-39-0f-d2-f3 prototype]$ python manage.py syncdb syncing... creating tables ... creating table auth_permission creating table auth_group_permissions creating table auth_group creating table auth_user_user_permissions creating table auth_user_groups creating table auth_user creating table django_content_type creating table django_session creating table django_site creating table django_admin_log creating table south_migrationhistory 

anyone know why?

it looks using south. south inhibit creation of tables in syncdb, , you'd expected run south migrations create them first time. south can keep track of state of tables , apply special migration rules have, initially.

the other possibility don't have of apps listed in installed_apps variable in settings file.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -