Retrieving current user id inside a function defined into class (CreateView)

前端 未结 0 1447
猫巷女王i
猫巷女王i 2020-11-29 07:40

Is possible to retrieve the current logged user id into a function defined inside a class, in views.py, using Django CreateView?

Something like this:



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