Django: NOT NULL constraint failed: wishlist_wish.user_id

后端 未结 0 1171
孤街浪徒
孤街浪徒 2020-12-12 06:37

I have a wishlist app with a custom user model. I added the user as the foreign key to each wishlist item. However, I am only able to add the foreign key by specifying a def

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