Thanks for answering man!
On Thursday, May 25, 2017 at 11:44:08 PM UTC+2, Melvyn Sopacua wrote:
>
> Let me spell it out:
>
> If the error message complains about the user field
>
> And the code you provided is correct
>
> Then your database is out of sync with your model definition
>
>
>
>
>
>
>> On May 25, 2017 7:20 AM, "Ismail Sarenkapic" >> > wrote:
> >>
> >> Hi, I'm trying to create a digital marketplace site where users will be
> >> able to register
Let me spell it out:
If the error message complains about the user field
And the code you provided is correct
Then your database is out of sync with your model definition
On Thursday 25 May 2017 13:53:19 Ismail Sarenkapic wrote:
> Tnx ,
> I know that i can manually select
gt;>
>> Sincerely,
>> Muhammad
>>
>> On May 25, 2017 7:20 AM, "Ismail Sarenkapic" > > wrote:
>>
>> Hi, I'm trying to create a digital marketplace site where users will be
>> able to register and submit their products.
>> I crea
> wrote:
>
> Hi, I'm trying to create a digital marketplace site where users will be
> able to register and submit their products.
> I created the Product model and connected it with User with foreign
> key.Everything seems to be alright, but when I submit my product i get t
to create a digital marketplace site where users will
>
> > be able to register and submit their products.
>
> > I created the Product model and connected it with User with foreign
>
> > key.Everything seems to be alright, but when I submit my product i
>
> > get the fol
ic" wrote:
Hi, I'm trying to create a digital marketplace site where users will be
able to register and submit their products.
I created the Product model and connected it with User with foreign
key.Everything seems to be alright, but when I submit my product i get the
following err
right, but when I submit my product i
> get the following error:
>
> null value in column violates not-null constraint
> it looks like relation between product and user is not properly
> configured(regardless of my mixin that is suppose to handle it)
> class Product(models.Mode
ue in column violates not-null constraint
it looks like relation between product and user is not properly
configured(regardless of my mixin that is suppose to handle it)
__
9 matches
Mail list logo