django restframework HyperlinkedRelatedField return Null value on one to many and many to many relationship

后端 未结 0 434
暗喜
暗喜 2020-12-30 06:33

hi i\'m new to django restframework, and i have model like this:

class Tag(models.Model):
    name = models.CharField(max_length=10)

    def __str__(self):
          


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