I went through a several QA's on stackoverflow in order to solve this for me but could not find. I did try all the answers from this question but it does not seem to help.
Whenever i try to update a record in table with a foreign key, I get the following error.
Mysql error 1452 - Cannot add or update a child row
what other factors might be causing this ? I'm using django 1.4, if that matters.
PS:
I tried the answers in the questions i mentioned and i always get an empty result as follows:
MySQL returned an empty result set (i.e. zero rows). ( Query took 0.0004 sec )