Hi everyone,
Happy 2011.
I am having an interesting problem where I need to change the foreign key on a model (A) to reference a different model. problem is, the table for A
is populated with records and MySQL does not seem able to drop it. I ran manage.py sql and would like to drop the existing constraint and add the new one.
Is there a straightforward way to do this?
--
Regards,
Sithembewena Lloyd Dube
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment