Running Django 1.4 and MySQL (InnoDB), with the development server.

I have a setup with a one-to-one relationship that I think might be causing
a database issue.

Model A has a one-to-one with Model B (the endpoint of the relationship is
stored in A) Model A also has both  a one-to-many and one-to-one with Model
C (the endpoint of the one-to-one relationship is stored in A; and
the endpoint of the one-to-many relationship is stored in C).

If I start with a clean database, and then populate Model B, then Model A,
then Model C (via the one-to-many), then all is well.  However, as soon as
I try and delete any one of the newly created records, via the admin
interface, then the server seems to "hang" and finally comes back with:

DatabaseError at /admin/app/model/1/delete/
(1205, 'Lock wait timeout exceeded; try restarting transaction')

Any ideas on how to debug this or see what process or issue is actually
causing the error?

Thanks
Derek

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to