Loading docs/howto/outputting-csv.txt +1 −2 Original line number Diff line number Diff line Loading @@ -39,8 +39,7 @@ mention: * The response gets an additional ``Content-Disposition`` header, which contains the name of the CSV file. This filename is arbitrary; call it whatever you want. It'll be used by browsers in the "Save as..." dialogue, etc. whatever you want. It'll be used by browsers in the "Save as..." dialog, etc. * Hooking into the CSV-generation API is easy: Just pass ``response`` as the first argument to ``csv.writer``. The ``csv.writer`` function expects a Loading docs/howto/outputting-pdf.txt +1 −2 Original line number Diff line number Diff line Loading @@ -77,8 +77,7 @@ mention: * The response gets an additional ``Content-Disposition`` header, which contains the name of the PDF file. This filename is arbitrary: Call it whatever you want. It'll be used by browsers in the "Save as..." dialogue, etc. whatever you want. It'll be used by browsers in the "Save as..." dialog, etc. * The ``Content-Disposition`` header starts with ``'attachment; '`` in this example. This forces Web browsers to pop-up a dialog box Loading Loading
docs/howto/outputting-csv.txt +1 −2 Original line number Diff line number Diff line Loading @@ -39,8 +39,7 @@ mention: * The response gets an additional ``Content-Disposition`` header, which contains the name of the CSV file. This filename is arbitrary; call it whatever you want. It'll be used by browsers in the "Save as..." dialogue, etc. whatever you want. It'll be used by browsers in the "Save as..." dialog, etc. * Hooking into the CSV-generation API is easy: Just pass ``response`` as the first argument to ``csv.writer``. The ``csv.writer`` function expects a Loading
docs/howto/outputting-pdf.txt +1 −2 Original line number Diff line number Diff line Loading @@ -77,8 +77,7 @@ mention: * The response gets an additional ``Content-Disposition`` header, which contains the name of the PDF file. This filename is arbitrary: Call it whatever you want. It'll be used by browsers in the "Save as..." dialogue, etc. whatever you want. It'll be used by browsers in the "Save as..." dialog, etc. * The ``Content-Disposition`` header starts with ``'attachment; '`` in this example. This forces Web browsers to pop-up a dialog box Loading