Write if else logic before creating api in serializer DRF

前端 未结 0 1927
梦谈多话
梦谈多话 2021-01-13 12:49

I need to write if else logic to show text alongside my values.before using get method.

models.py

class AnalysisResult(models.Model):
         


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