per page, with , order by , clip by
Results of 1 - 8 of about 8 for chunks (0.004 sec.)
アップロードファイルとアップロードハンドラ 13447
アップロードファイルとアップロードハンドラ アップロードファイル class UploadedFile [ソース] ファイルアップロード中、実際のファイルデータは request.FILES に保存されます。この辞書の各エントリーは UploadedFile オブジェクト(またはそのサブクラス ... アップロードされたファイルが巨大な場合、それをメモリに読み込もうとするとシステムを圧迫する可能性があります。おそらく代わりに 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 オブジェクト 9452
File オブジェクト django.core.files モジュールとそのサブモジュールでは、Django の基本的なファイルハンドリングに関するビルトインクラスが定義されています。 File クラス class File ( file_object , name = None ) [ソース] The File class is a thin ... できます。たとえば、 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 リリースノート 8820
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.4.17 release. WSGI header spoofing via underscore/dash conflation When HTTP headers are place ... 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 リリースノート 8820
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 conflation When HTTP headers are placed into the WSGI environ, they are normalized by converting to ... 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 リリースノート 8603
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/dash conflation When HTTP headers are placed into the WSGI environ, they are normalized by conver ... 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
ファイルのアップロード 8404
ファイルのアップロード 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
索引 7338
索引 記号 | _ | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | ア | イ | ク | コ | シ | ス | テ | ハ | ヒ | フ | メ | モ | ロ | 具 | 国 | 環 | 翻 | 表 | 言 | 長 記号 -- dbshell コマン ... eld の属性) (Field の属性) (Select の属性) Chr (django.db.models.functions のクラス) chunk_size (FileUploadHandler の属性) chunks() (File のメソッド) (UploadedFile のメソッド) CITextExtension (django.contrib.postgres.operations のクラス) city() (GeoIP2 ... o.contrib.gis.db.models のクラス) (django.contrib.gis.forms のクラス) multipart_parser_class (HttpRequest の属性) multiple_chunks() (File のメソッド) (UploadedFile のメソッド) MultipleChoiceField (django.forms のクラス) MultipleHiddenInput (django.form ...
https://man.mtool.work/django/6.1/genindex.html
Django 1.6 リリースノート 7338
Django 1.6 リリースノート 注釈 Dedicated to Malcolm Tredinnick On March 17, 2013, the Django project and the free software community lost a very dear friend and developer. Malcolm was a long-time contributor to Django, a model community mem ... y convert all fetched rows to Model objects. In Django 1.5 and earlier the fetched rows were converted to Model objects in chunks of 100. Existing code will work, but the amount of rows converted to objects might change in certain use cases. Such usage ...
https://man.mtool.work/django/6.1/releases/1.6.html
PREV 1 NEXT