How to set the FK automatically for Model in OneToOneRaltionship in Django?

后端 未结 0 377
青春惊慌失措
青春惊慌失措 2021-01-02 23:51

Start of Property Model

class Property(models.Model):

    # ? Relationships

    user = models.ForeignKey(
        set         


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