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

2020-01-01 Thread Muhammad Tariq
why it is not creating male_mutation field when I've declared in mode? On Tuesday, 31 December 2019 17:13:33 UTC+5, Integr@te System wrote: > > Hi Issuer, > > As error warning, we don't see any male_mutation in Mutation model when > Pair.male_mutation reference to. As well Species model located.

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

2019-12-31 Thread Integr@te System
Hi Issuer, As error warning, we don't see any male_mutation in Mutation model when Pair.male_mutation reference to. As well 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

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