Ticket #960 (closed defect: invalid)
Error in proxy model migration script
|Reported by:||benjaoming@…||Owned by:||andrew|
Adding a proxy table for the User model. ./manage.py schemamigration appname then created the following wrong migration script:
db.create_table('auth_user', ( , ))
...which I had to comment out. After that, everything worked fine. Am using South 0.7.3.
The above contains a syntax error!
File "project/appname/migrations/000X_auto__add_userfullname.py", line 13 , ^ SyntaxError: invalid syntax
My procedure was to simply add a new proxy model and reference it to another model with a ForeignKey? field.