per page, with , order by , clip by
Results of 1 - 10 of about 28 for Disposition (0.003 sec.)
CSVを出力する — Django 6.1 ドキュメント 11454
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » CSVを出力する ¶ このドキュメントでは、Django のビューを使って動的に CSV (Comma Separated Values) を出力する方法を説明しています。そのためには、Pytho ... esponse object with the appropriate CSV header. response = HttpResponse ( content_type = "text/csv" , headers = { "Content-Disposition" : 'attachment; filename="somefilename.csv"' }, ) writer = csv . writer ( response ) writer . writerow ([ "First row" , "F ... 解釈し、ブラウザウィンドウに醜くて恐ろしいぐちゃぐちゃの文字列が現れてしまう恐れがあります。 レスポンスには、追加の Content-Disposition ヘッダに CSV のファイル名を設定することができます。ファイル名はどんなものでも構いません。ここで指定した名前は、ブラウザが「 ... for row in batch ) return StreamingHttpResponse ( stream_batched_rows (), content_type = "text/csv" , headers = { "Content-Disposition" : 'attachment; filename="somefilename.csv"' }, ) テンプレートシステムを使う ¶ もしくは、 Django のテンプレートシステム を ...
https://man.mtool.work/django/6.1/howto/outputting-csv.html
Django 3.2.15 リリースノート — Django 6.1 ドキュメント 11241
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 3.2.15 リリースノート ¶ 2022年8月3日 Django 3.2.15 では 3.2.14 における深刻度 "high" のセキュリティの問題を修正しました。 CVE-2022-36359: Pot ... in FileResponse ¶ An application may have been vulnerable to a reflected file download (RFD) attack that sets the Content-Disposition header of a FileResponse when the filename was derived from user-supplied input. The filename is now escaped to avoid this ... nse filename リリースノート high セキュリティ 問題 修正 Potential vulnerability application vulnerable attack sets Content Disposition header derived user supplied input escaped avoid possibility クイック検索 Last update: 2026年10月09日 « previous | up | ne ...
https://man.mtool.work/django/6.1/releases/3.2.15.html
Django 4.0.7 リリースノート — Django 6.1 ドキュメント 11241
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 4.0.7 リリースノート ¶ 2022年8月3日 Django 4.0.7 では 4.0.6 における深刻度 "high" のセキュリティの問題を修正しました。 CVE-2022-36359: Potent ... in FileResponse ¶ An application may have been vulnerable to a reflected file download (RFD) attack that sets the Content-Disposition header of a FileResponse when the filename was derived from user-supplied input. The filename is now escaped to avoid this ... nse filename リリースノート high セキュリティ 問題 修正 Potential vulnerability application vulnerable attack sets Content Disposition header derived user supplied input escaped avoid possibility クイック検索 Last update: 2026年10月09日 « previous | up | ne ...
https://man.mtool.work/django/6.1/releases/4.0.7.html
Django 3.2.15 リリースノート — Django 6.1 ドキュメント 10798
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 3.2.15 リリースノート ¶ 2022年8月3日 Django 3.2.15 では 3.2.14 における深刻度 "high" のセキュリティの問題を修正しました。 CVE-2022-36359: Pot ... in FileResponse ¶ An application may have been vulnerable to a reflected file download (RFD) attack that sets the Content-Disposition header of a FileResponse when the filename was derived from user-supplied input. The filename is now escaped to avoid this ... nse filename リリースノート high セキュリティ 問題 修正 Potential vulnerability application vulnerable attack sets Content Disposition header 関連するページ Django 4.0.7 リリースノート Django 3.2.16 リリースノート Django 4.0.8 リリースノート Django 5.2.6 リ ...
https://man.mtool.work/django/6.1/releases/3.2.15.html
Django 4.0.7 リリースノート — Django 6.1 ドキュメント 10798
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 4.0.7 リリースノート ¶ 2022年8月3日 Django 4.0.7 では 4.0.6 における深刻度 "high" のセキュリティの問題を修正しました。 CVE-2022-36359: Potent ... in FileResponse ¶ An application may have been vulnerable to a reflected file download (RFD) attack that sets the Content-Disposition header of a FileResponse when the filename was derived from user-supplied input. The filename is now escaped to avoid this ... nse filename リリースノート high セキュリティ 問題 修正 Potential vulnerability application vulnerable attack sets Content Disposition header 関連するページ Django 3.2.15 リリースノート Django 3.2.16 リリースノート Django 4.0.8 リリースノート Django 5.2.6 リ ...
https://man.mtool.work/django/6.1/releases/4.0.7.html
CSVを出力する — Django 6.1 ドキュメント 10159
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » CSVを出力する ¶ このドキュメントでは、Django のビューを使って動的に CSV (Comma Separated Values) を出力する方法を説明しています。そのためには、Pytho ... esponse object with the appropriate CSV header. response = HttpResponse ( content_type = "text/csv" , headers = { "Content-Disposition" : 'attachment; filename="somefilename.csv"' }, ) writer = csv . writer ( response ) writer . writerow ([ "First row" , "F ... 解釈し、ブラウザウィンドウに醜くて恐ろしいぐちゃぐちゃの文字列が現れてしまう恐れがあります。 レスポンスには、追加の Content-Disposition ヘッダに CSV のファイル名を設定することができます。ファイル名はどんなものでも構いません。ここで指定した名前は、ブラウザが「 ... for row in batch ) return StreamingHttpResponse ( stream_batched_rows (), content_type = "text/csv" , headers = { "Content-Disposition" : 'attachment; filename="somefilename.csv"' }, ) テンプレートシステムを使う ¶ もしくは、 Django のテンプレートシステム を ...
https://man.mtool.work/django/6.1/howto/outputting-csv.html
PDFファイルを作成する — Django 6.1 ドキュメント 9733
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » PDFファイルを作成する ¶ このドキュメントでは、Django のビューを使用して PDF ファイルを動的に出力する方法を説明します。これは、優れたオープンソースの ... ello world." ) # Close the PDF object cleanly, and we're done. p . showPage () p . save () # FileResponse sets the Content-Disposition header so that browsers # present the option to save the file. buffer . seek ( 0 ) return FileResponse ( buffer , as_attac ... イナリコンテンツではなく、PDFファイルであることを伝えます。 as_attachment=True が FileResponse に渡されると、適切な Content-Disposition ヘッダが設定され、ウェブブラウザはそのマシンでデフォルトが設定されていたとしても、そのドキュメントをどのように扱うかを確認 ... vas save attachment ブラウザ フォーマット カスタマイズ コンテンツ 提供 install ライク Hello Create Canvas showPage Content Disposition filename クイック検索 Last update: 2026年10月09日 « previous | up | next » ...
https://man.mtool.work/django/6.1/howto/outputting-pdf.html
PDFファイルを作成する — Django 6.1 ドキュメント 8242
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » PDFファイルを作成する ¶ このドキュメントでは、Django のビューを使用して PDF ファイルを動的に出力する方法を説明します。これは、優れたオープンソースの ... ello world." ) # Close the PDF object cleanly, and we're done. p . showPage () p . save () # FileResponse sets the Content-Disposition header so that browsers # present the option to save the file. buffer . seek ( 0 ) return FileResponse ( buffer , as_attac ... イナリコンテンツではなく、PDFファイルであることを伝えます。 as_attachment=True が FileResponse に渡されると、適切な Content-Disposition ヘッダが設定され、ウェブブラウザはそのマシンでデフォルトが設定されていたとしても、そのドキュメントをどのように扱うかを確認 ...
https://man.mtool.work/django/6.1/howto/outputting-pdf.html
リクエストとレスポンスのオブジェクト — Django 6.1 ドキュメント 8242
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » リクエストとレスポンスのオブジェクト ¶ 簡単な概要 ¶ Django は、システムを通じてステータスを渡すために、リクエストとレスポンスのオブジェクトを使います ... ようにブラウザに指示します。 ¶ ブラウザにレスポンスをファイル添付として扱うように指示するためには、 Content-Type と Content-Disposition ヘッダを設定します。例えば、Microsoft Excel スプレッドシートを返す方法は以下のようになります: >>> response = HttpResponse ... ( ... my_data , ... headers = { ... "Content-Type" : "application/vnd.ms-excel" , ... "Content-Disposition" : 'attachment; filename="foo.xls"' , ... }, ... ) Content-Disposition ヘッダについては Django 固有のものはありませんが、そ ... .file_wrapper を使用し、そうでない場合はファイルを小さなチャンクでストリーミングします。 as_attachment=True だと、 Content-Disposition ヘッダーが attachment に設定され、ブラウザにファイルをダウンロードするように要求します。それ以外の場合は、ファイル名が利用 ...
https://man.mtool.work/django/6.1/ref/request-response.html
リクエストとレスポンスのオブジェクト — Django 6.1 ドキュメント 8242
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » リクエストとレスポンスのオブジェクト ¶ 簡単な概要 ¶ Django は、システムを通じてステータスを渡すために、リクエストとレスポンスのオブジェクトを使います ... ようにブラウザに指示します。 ¶ ブラウザにレスポンスをファイル添付として扱うように指示するためには、 Content-Type と Content-Disposition ヘッダを設定します。例えば、Microsoft Excel スプレッドシートを返す方法は以下のようになります: >>> response = HttpResponse ... ( ... my_data , ... headers = { ... "Content-Type" : "application/vnd.ms-excel" , ... "Content-Disposition" : 'attachment; filename="foo.xls"' , ... }, ... ) Content-Disposition ヘッダについては Django 固有のものはありませんが、そ ... .file_wrapper を使用し、そうでない場合はファイルを小さなチャンクでストリーミングします。 as_attachment=True だと、 Content-Disposition ヘッダーが attachment に設定され、ブラウザにファイルをダウンロードするように要求します。それ以外の場合は、ファイル名が利用 ...
https://man.mtool.work/django/6.1/ref/request-response.html
PREV 1 2 3 NEXT