Сохранит файл
This commit is contained in:
1 parent
5666c46de8
commit
bb27a5360b
4 files changed
+13
-3
No files matched your search
@@ -200,12 +200,12 @@ class DailyRoundUpAPIView(APIView):
|
||||
|
||||
wb.save(file_path)
|
||||
|
||||
urllib.request.urlretrieve(file_path, 'Пупка.xlsx')
|
||||
# urllib.request.urlretrieve(file_path, 'Пупка.xlsx')
|
||||
|
||||
# file_path = 'media/DailyRoundUp.xlsx'
|
||||
|
||||
|
||||
return Response('')
|
||||
return Response(file_path)
|
||||
|
||||
# with ExcelWriter(file_path, mode="a" if os.path.exists(file_path) else "w" , if_sheet_exists='replace') as writer:
|
||||
# #
|
||||
|
||||
Reference in new issue
Block a user