Django Restframework serializing matrix of objects

前端 未结 0 1000
-上瘾入骨i
-上瘾入骨i 2021-02-13 12:37

I have a model which holds matrix data as JSON.

class SomeModel(models.Model):
  matrix_data = models.TextField(...)

  @property
  def matrix(self):
    return j         


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