Getting the currently logged in user from django view form

后端 未结 0 1052
不知归路
不知归路 2021-01-31 07:31

This is my model.

class Project(models.Model):
id = models.AutoField(primary_key=True)
user = models.ForeignKey(CustomUser, on_delete=models.PROTECT, editable=Fal         


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