Upload temporary file to response in postman by DRF

前端 未结 0 1144
不思量自难忘°
不思量自难忘° 2021-01-12 05:25

I am using Django2 and REST framework. I want to add a temporary file tempfile.SpooledTemporaryFile() to response. My code:

class MyViewSet(views         


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