Re: Django ValueError at: Cannot assign "": "Pair.male_mutation" must be a "Mutation" instance."

2020-01-01 Thread Muhammad Tariq
ell Species model located. > > > > > > > On Mon, Dec 30, 2019, 19:31 Muhammad Tariq > wrote: > >> I am new to Django facing this error while saving data into DB: >> >> "ValueError at /breedingRecApp/pairing >> Cannot assign "": >

Django ValueError at: Cannot assign "": "Pair.male_mutation" must be a "Mutation" instance."

2019-12-30 Thread Muhammad Tariq
I am new to Django facing this error while saving data into DB: "ValueError at /breedingRecApp/pairing Cannot assign "": "Pair.male_mutation" must be a "Mutation" instance." I've 4 foreign keys in Pair model each with specific reason/purposes. when I save data then error come. in the same error