I am unable to use syncdb because my app uses some MySQL views. I have run manage.py sqlall <app>
, but this does not output the SQL for django_content_type table or the auth_permission tables. I have also had a look into south and django evolution, but they both require syncdb, and I'm not sure they would help anyway.
I have manually added some models to the tables, but this is getting frustrating, and having installed the dbsettings app I am unsure of what I now need to enter.
Does anyone know of a way to get manage.py (or something else) to output the SQL for these tables and their contents?
Thanks.
_mysql_exceptions.OperationalError: (1060, "Duplicate column name 'ServerID'")
- it's something to do with some odd views in MySQL. I've given up on trying to get syncdb working, if I start another django project from scratch I'll use south or evolution. – Condescension