how to user prefetch_related and select_related in django rest framework

前端 未结 0 1352
伪装坚强ぢ
伪装坚强ぢ 2021-02-19 08:48

Hi I have something like this in Model

class Task(model.Models):
    name=model.CharField(max=100)
    
class attachments(model.Models):
    file=model.FileField(         


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