検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 14 for chunks (0.024 sec.)
アップロードファイルとアップロードハンドラ — Django 4.0.6 ドキュメント 12901
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... o read it into memory. You'll probably want to use chunks() instead; see below. UploadedFile. multiple_chunk ... file is big enough to require reading in multiple chunks. By default this will be any file larger than 2.5 ... but that's configurable; see below. UploadedFile. chunks ( chunk_size = None ) ¶ A generator returning chun ... ks of the file. If multiple_chunks() is True , you should use this method in a loop i ...
https://man.plustar.jp/django/ref/files/uploads.html - [similar]
django.core.files.base — Django 4.0.6 ドキュメント 12060
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... o determine the file's size." ) [ドキュメント] def chunks ( self , chunk_size = None ): """ Read the file an ... d yield chunks of ``chunk_size`` bytes (defaults to ``File.DEFAUL ... ata : break yield data [ドキュメント] def multiple_chunks ( self , chunk_size = None ): """ Return ``True`` ... if you can expect multiple chunks. NB: If a particular file representation is in mem ...
https://man.plustar.jp/django/_modules/django/core/files/base.html - [similar]
File オブジェクト — Django 4.0.6 ドキュメント 10292
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... Iterate over the file yielding one line at a time. chunks ( chunk_size = None ) [ソース] ¶ Iterate over the ... file yielding "chunks" of a given size. chunk_size defaults to 64 KB. Th ... avoids storing the whole file in memory. multiple_chunks ( chunk_size = None ) [ソース] ¶ Returns True if t ... he file is large enough to require multiple chunks to access all of its content give some chunk_size ...
https://man.plustar.jp/django/ref/files/file.html - [similar]
django.core.files.uploadedfile — Django 4.0.6 ドキュメント 9820
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... = None ): self . file . seek ( 0 ) return self def chunks ( self , chunk_size = None ): self . file . seek ( ... 0 ) yield self . read () def multiple_chunks ( self , chunk_size = None ): # Since it's in memo ... ry, we'll never have multiple chunks. return False class SimpleUploadedFile ( InMemoryU ...
https://man.plustar.jp/django/_modules/django/core/files/uploadedfile.html - [similar]
Django 1.4.18 release notes — Django 4.0.6 ドキュメント 8034
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... many large files. This view now reads the file in chunks to prevent large memory usage. Note, however, that ...
https://man.plustar.jp/django/releases/1.4.18.html - [similar]
Django 1.6.10 release notes — Django 4.0.6 ドキュメント 8034
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... many large files. This view now reads the file in chunks to prevent large memory usage. Note, however, that ...
https://man.plustar.jp/django/releases/1.6.10.html - [similar]
Django 1.7.3 release notes — Django 4.0.6 ドキュメント 8034
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... many large files. This view now reads the file in chunks to prevent large memory usage. Note, however, that ...
https://man.plustar.jp/django/releases/1.7.3.html - [similar]
ファイルのアップロード — Django 4.0.6 ドキュメント 8034
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... e.txt' , 'wb+' ) as destination : for chunk in f . chunks (): destination . write ( chunk ) read() を使う代わ ... りに UploadedFile.chunks() でループすることで、大きなサイズのファイルがアッ ...
https://man.plustar.jp/django/topics/http/file-uploads.html - [similar]
django.core.files.uploadhandler — Django 4.0.6 ドキュメント 7929
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ers. """ chunk_size = 64 * 2 ** 10 # : The default chunk size is 64 KB. def __init__ ( self , request = None ... responds to the actual size accumulated by all the chunks. Subclasses should return a valid ``UploadedFile`` ...
https://man.plustar.jp/django/_modules/django/core/files/uploadhandler.html - [similar]
The staticfiles app — Django 4.0.6 ドキュメント 7562
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... efault it calculates a MD5 hash from the content's chunks as mentioned above. Feel free to override this met ...
https://man.plustar.jp/django/ref/contrib/staticfiles.html - [similar]
PREV 1 2 NEXT