How does django's ORM get one to one fields without having to call a function

后端 未结 0 1543
挽巷
挽巷 2021-01-23 00:42

So let\'s say I have a django model like so:

class Profile(models.Model):
    user = models.OneToOneField(User, on_delete=m         


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