1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

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

This commit is contained in:
Zeilentaucher
2022-01-12 07:36:27 +01:00
committed by GitHub
parent dc9deea8e8
commit 658dc7045a

View File

@@ -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"'},
)