per page, with , order by , clip by
Results of 1 - 10 of about 16 for chunks (0.002 sec.)
アップロードファイルとアップロードハンドラ — Django 6.1 ドキュメント 13013
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » アップロードファイルとアップロードハンドラ ¶ アップロードファイル ¶ class UploadedFile [ソース] ¶ ファイルアップロード中、実際のファイルデータは req ... アップロードされたファイルが巨大な場合、それをメモリに読み込もうとするとシステムを圧迫する可能性があります。おそらく代わりに chunks() を使うことになるでしょう。 UploadedFile. multiple_chunks ( chunk_size = None ) ¶ アップロードされたファイルが、複数のチャ ... て読み込む必要があるほど大きい場合に True を返します。デフォルトでは2.5MB以上のファイルですが、設定可能です。 UploadedFile. chunks ( chunk_size = None ) ¶ ファイルのチャンクを返すジェネレータです。 multiple_chunks() が True の場合、 read() の代わりにこの ... メソッドをループで使用すべきです。 実際には、常に chunks() を使用するのが最も簡単です。 read() を使用する代わりに chunks() をループ処理することで、大きなファイルがシステムのメモリ ...
https://man.mtool.work/django/6.1/ref/files/uploads.html
アップロードファイルとアップロードハンドラ — Django 6.1 ドキュメント 13013
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » アップロードファイルとアップロードハンドラ ¶ アップロードファイル ¶ class UploadedFile [ソース] ¶ ファイルアップロード中、実際のファイルデータは req ... アップロードされたファイルが巨大な場合、それをメモリに読み込もうとするとシステムを圧迫する可能性があります。おそらく代わりに chunks() を使うことになるでしょう。 UploadedFile. multiple_chunks ( chunk_size = None ) ¶ アップロードされたファイルが、複数のチャ ... て読み込む必要があるほど大きい場合に True を返します。デフォルトでは2.5MB以上のファイルですが、設定可能です。 UploadedFile. chunks ( chunk_size = None ) ¶ ファイルのチャンクを返すジェネレータです。 multiple_chunks() が True の場合、 read() の代わりにこの ... メソッドをループで使用すべきです。 実際には、常に chunks() を使用するのが最も簡単です。 read() を使用する代わりに chunks() をループ処理することで、大きなファイルがシステムのメモリ ...
https://man.mtool.work/django/6.1/ref/files/uploads.html
File オブジェクト — Django 6.1 ドキュメント 9045
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » File オブジェクト ¶ django.core.files モジュールとそのサブモジュールでは、Django の基本的なファイルハンドリングに関するビルトインクラスが定義されてい ... きます。たとえば、 with file.open() as f: のようにです。 __iter__ () [ソース] ¶ ファイルをイテレートして、1行ずつ返します。 chunks ( chunk_size = None ) [ソース] ¶ ファイルをイテレートし、指定されたサイズの「チャンク」を生成します。 chunk_size のデフォル ... ファイルに特に便利であり、ディスクからストリーミングしてメモリ全体にファイルを保存することを避けることができます。 multiple_chunks ( chunk_size = None ) [ソース] ¶ chunk_size (一括サイズ) で指定されたファイルの全内容にアクセスするために複数のチャンクが必 ...
https://man.mtool.work/django/6.1/ref/files/file.html
File オブジェクト — Django 6.1 ドキュメント 8872
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » File オブジェクト ¶ django.core.files モジュールとそのサブモジュールでは、Django の基本的なファイルハンドリングに関するビルトインクラスが定義されてい ... きます。たとえば、 with file.open() as f: のようにです。 __iter__ () [ソース] ¶ ファイルをイテレートして、1行ずつ返します。 chunks ( chunk_size = None ) [ソース] ¶ ファイルをイテレートし、指定されたサイズの「チャンク」を生成します。 chunk_size のデフォル ... ファイルに特に便利であり、ディスクからストリーミングしてメモリ全体にファイルを保存することを避けることができます。 multiple_chunks ( chunk_size = None ) [ソース] ¶ chunk_size (一括サイズ) で指定されたファイルの全内容にアクセスするために複数のチャンクが必 ...
https://man.mtool.work/django/6.1/ref/files/file.html
Django 1.4.18 リリースノート — Django 6.1 ドキュメント 8335
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.4.18 リリースノート ¶ January 13, 2015 Django 1.4.18 fixes several security issues in 1.4.17 as well as a regression on Python 2.5 in the 1 ... this and launch a denial-of-service attack by simultaneously requesting many large files. This view now reads the file in chunks to prevent large memory usage. Note, however, that this view has always carried a warning that it is not hardened for prod ...
https://man.mtool.work/django/6.1/releases/1.4.18.html
Django 1.6.10 リリースノート — Django 6.1 ドキュメント 8335
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.6.10 リリースノート ¶ January 13, 2015 Django 1.6.10 fixes several security issues in 1.6.9. WSGI header spoofing via underscore/dash confl ... this and launch a denial-of-service attack by simultaneously requesting many large files. This view now reads the file in chunks to prevent large memory usage. Note, however, that this view has always carried a warning that it is not hardened for prod ...
https://man.mtool.work/django/6.1/releases/1.6.10.html
Django 1.4.18 リリースノート — Django 6.1 ドキュメント 8144
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.4.18 リリースノート ¶ January 13, 2015 Django 1.4.18 fixes several security issues in 1.4.17 as well as a regression on Python 2.5 in the 1 ... this and launch a denial-of-service attack by simultaneously requesting many large files. This view now reads the file in chunks to prevent large memory usage. Note, however, that this view has always carried a warning that it is not hardened for prod ...
https://man.mtool.work/django/6.1/releases/1.4.18.html
Django 1.6.10 リリースノート — Django 6.1 ドキュメント 8144
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.6.10 リリースノート ¶ January 13, 2015 Django 1.6.10 fixes several security issues in 1.6.9. WSGI header spoofing via underscore/dash confl ... this and launch a denial-of-service attack by simultaneously requesting many large files. This view now reads the file in chunks to prevent large memory usage. Note, however, that this view has always carried a warning that it is not hardened for prod ...
https://man.mtool.work/django/6.1/releases/1.6.10.html
Django 1.7.3 リリースノート — Django 6.1 ドキュメント 8144
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.7.3 リリースノート ¶ January 13, 2015 Django 1.7.3 fixes several security issues and bugs in 1.7.2. WSGI header spoofing via underscore/das ... this and launch a denial-of-service attack by simultaneously requesting many large files. This view now reads the file in chunks to prevent large memory usage. Note, however, that this view has always carried a warning that it is not hardened for prod ...
https://man.mtool.work/django/6.1/releases/1.7.3.html
ファイルのアップロード — Django 6.1 ドキュメント 8144
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » ファイルのアップロード ¶ Django がファイルアップロードを扱うとき、ファイルデータは request.FILES に格納されます ( request についての詳細は リクエスト ... うになります。 def handle_uploaded_file ( f ): with open ( "some/file/name.txt" , "wb+" ) as destination : for chunk in f . chunks (): destination . write ( chunk ) read() を使う代わりに UploadedFile.chunks() でループすることで、大きなサイズのファイルが ...
https://man.mtool.work/django/6.1/topics/http/file-uploads.html
PREV 1 2 NEXT