回答編集履歴
1
mime_typeは古いためcontent_typeを使って下さい
test
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
...
|
8
8
|
|
9
|
-
response = HttpResponse(
|
9
|
+
response = HttpResponse(content_type='text/csv')
|
10
10
|
|
11
11
|
response['Content-Disposition'] = 'attachment; filename=hogehoge.csv'
|
12
12
|
|