浏览代码

Fixed #33432 -- Fixed typo in docs/howto/outputting-csv.txt.

Zeilentaucher 3 年之前
父节点
当前提交
658dc7045a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/howto/outputting-csv.txt

+ 1 - 1
docs/howto/outputting-csv.txt

@@ -112,7 +112,7 @@ Here's an example, which generates the same CSV file as above::
     def some_view(request):
         # Create the HttpResponse object with the appropriate CSV header.
         response = HttpResponse(
-            content_type='text/csv'
+            content_type='text/csv',
             headers={'Content-Disposition': 'attachment; filename="somefilename.csv"'},
         )