How to get username in a variable forms.py Django

后端 未结 0 1401
别那么骄傲
别那么骄傲 2020-11-28 03:28

So i am trying to fill in a model variable in from by default. I need the current logged in username in master_id = #here#

i am not able to use request.

Please

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