hey all,

I'm trying to add DRF to my Django 1.9 app.

When running the initial migration, I am having a failure in what looks to 
be a temporary table being created. "Foreign key constraint is incorrectly 
formed" - however, I don't know what specifically in the migration or my 
existing database tables may be causing that error to happen.

 After attempting to migrate the database, even though it doesn't finish 
cleanly.. the 'authtoken_token' table is created successfully and I can 
create tokens in the table.

Here is the migration error in full

https://gist.github.com/mrchameleon/5422f68d4fbbcafb34dc66ec66ac98a4

Any suggestions on how I can track down the cause of the migration error? 
It is leaving the current migrations in an unfinished state, so I can't 
proceed in using DRF unless I fix this issue.

Thanks,
Ryan

-- 
You received this message because you are subscribed to the Google Groups 
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to