I cannot use syncdb because my application uses some MySQL views. I ran manage.py sqlall <app>, but this does not display the SQL table for the django_content_type table or the auth_permission table. I also looked at the south and the evolution of django, but they both require syncdb, and I'm not sure that they will help anyway.
I manually added some models to the tables, but it becomes frustrating, and having installed the dbsettings application, I'm not sure what I need to enter now.
Does anyone know how to get manage.py (or something else) to output SQL for these tables and their contents?
Thank.
source
share