Explorar el Código

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

Zeilentaucher hace 3 años
padre
commit
658dc7045a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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"'},
         )