Created custom user model, now creating new posts with requested user does not work?

前端 未结 0 325
太阳男子
太阳男子 2021-01-29 02:30

I have a Post model for simple blog posts and a foreign key for the user who owns the post. Now using a custom user model I get a "Post.user" must be a "CustomUse

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