Django: null value in column “user_id” violates not-null constraint

后端 未结 0 1439
梦如初夏
梦如初夏 2020-12-20 12:44

I\'m using Postgresql and I have created the following models in my Django Project.

Models.py

User = settings.AUTH_USER_MODEL

Discount_Type=(
    (\'$         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题