10 2020 档案
摘要:class TaskCenterDownload(APIView): def get(self,request): file_path = str(BASE_DIR) + '\download_file\\main.zip' file_name = 'main' if not os.path.isf
阅读全文
摘要:# 导出Excel文件 def export_excel(request): city = request.POST.get('city') print(city) list_obj=place.objects.filter(city=city) # 设置HTTPResponse的类型 respon
阅读全文