Django serialize a field of a model to a dictionary

前端 未结 0 1258
被撕碎了的回忆
被撕碎了的回忆 2021-01-13 17:25

I have this model,

class MyModel(models.Model):
    some_id = models.PositiveIntegerField(primary_key=True)
    diff_id = models.PositiveIntegerField(null=Tru         


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