Django returns UserLazyObject: TypeError: Field 'id' expected a number but got <channels.auth.UserLazyObject object

前端 未结 0 1842
梦如初夏
梦如初夏 2020-12-21 08:17

I\'m using Django Channels to make a chat app following a tutorial. in my code I have a custom manager for my models. here is the manager:

from   import model         


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