int() argument must be a string or a number, not 'SimpleLazyObject'

前端 未结 5 746
南方客
南方客 2020-12-13 19:33

I got, following Error messages,

TypeError at /save/ int() argument must be a string or a number, not \'SimpleLazyObject\'

Whi

5条回答
  •  一生所求
    2020-12-13 19:46

    Thats strange, I had the same problem and the same solution. After trying a bunch of alternatives I went back to user = request.user and it worked

提交回复
热议问题