how to add current active user as foreign key to the create post model in djangorestframework?

前端 未结 0 1204
天涯浪人
天涯浪人 2021-01-07 15:17

how to add current active user as foreign key to the create post model in djangorestframework ?

models:

class DoctorProfile(models.Model):
    id=model         


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