per page, with , order by , clip by
Results of 1 - 10 of about 18 for streaming (0.005 sec.)
Django 1.5 リリースノート — Django 6.1 ドキュメント 11959
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.5 リリースノート ¶ February 26, 2013 Django 1.5 へようこそ! These release notes cover the new features , as well as some backwards incompat ... abase when you call save() . This can help in high-concurrency operations, and can improve performance. Better support for streaming responses via the new StreamingHttpResponse response class. GeoDjango now supports PostGIS 2.0. ... and more; see below . ... f the relationship can be cached. This is particularly helpful in combination with prefetch_related . Explicit support for streaming responses ¶ Before Django 1.5, it was possible to create a streaming response by passing an iterator to HttpResponse . But ... y middleware that accessed the content attribute would consume the iterator prematurely. You can now explicitly generate a streaming response with the new StreamingHttpResponse class. This class exposes a streaming_content attribute which is an iterator. ...
https://man.mtool.work/django/6.1/releases/1.5.html
Django 1.5 リリースノート — Django 6.1 ドキュメント 11822
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.5 リリースノート ¶ February 26, 2013 Django 1.5 へようこそ! These release notes cover the new features , as well as some backwards incompat ... abase when you call save() . This can help in high-concurrency operations, and can improve performance. Better support for streaming responses via the new StreamingHttpResponse response class. GeoDjango now supports PostGIS 2.0. ... and more; see below . ... f the relationship can be cached. This is particularly helpful in combination with prefetch_related . Explicit support for streaming responses ¶ Before Django 1.5, it was possible to create a streaming response by passing an iterator to HttpResponse . But ... y middleware that accessed the content attribute would consume the iterator prematurely. You can now explicitly generate a streaming response with the new StreamingHttpResponse class. This class exposes a streaming_content attribute which is an iterator. ...
https://man.mtool.work/django/6.1/releases/1.5.html
ミドルウェア (Middleware) — Django 6.1 ドキュメント 10415
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » ミドルウェア (Middleware) ¶ ミドルウェアは、Django のリクエスト/レスポンス処理にフックを加えるためのフレームワークです。これは、Django の入力あるいは ... ズでは、ミドルウェアは逆順に呼び出されます。これには、 process_template_response() も含まれます。 ストリーミングレスポンス (streaming responses) を扱う ¶ HttpResponse とは違い、 StreamingHttpResponse は content 属性を持ちません。そのため、ミドルウェアはもは ... ストリーミングレスポンスオブジェクトかどうかをチェックし、その結果によって処理を場合分けしなければなりません。 if response . streaming : response . streaming_content = wrap_streaming_content ( response . streaming_content ) else : response . content = alter ... _content ( response . content ) 注釈 streaming_content はメモリ上に置けないくらい大きいと想定しておくべきです。レスポンスミドルウェアでは、これを新しいジェネレータでラッ ...
https://man.mtool.work/django/6.1/topics/http/middleware.html
Django 1.4.19 リリースノート — Django 6.1 ドキュメント 10277
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.4.19 リリースノート ¶ January 27, 2015 Django 1.4.19 fixes a regression in the 1.4.18 security release. バグ修正 ¶ GZipMiddleware now suppo ... rts streaming responses. As part of the 1.4.18 security release, the django.views.static.serve() function was altered to stream the file ... ート 関連キーワード security release GZipMiddleware stream files リリースノート January fixes regression バグ 修正 supports streaming responses part views static serve altered serves Unfortunately consumed prematurely prevented served クイック検索 Last upd ...
https://man.mtool.work/django/6.1/releases/1.4.19.html
Django 1.4.19 リリースノート — Django 6.1 ドキュメント 10003
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.4.19 リリースノート ¶ January 27, 2015 Django 1.4.19 fixes a regression in the 1.4.18 security release. バグ修正 ¶ GZipMiddleware now suppo ... rts streaming responses. As part of the 1.4.18 security release, the django.views.static.serve() function was altered to stream the file ... ーワード Django security release GZipMiddleware stream files リリースノート January fixes regression バグ 修正 now supports streaming responses part django views static 関連するページ Django 1.5.12 リリースノート Django 1.4.17 リリースノート Django 1.6.9 リ ...
https://man.mtool.work/django/6.1/releases/1.4.19.html
ミドルウェア (Middleware) — Django 6.1 ドキュメント 9866
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » ミドルウェア (Middleware) ¶ ミドルウェアは、Django のリクエスト/レスポンス処理にフックを加えるためのフレームワークです。これは、Django の入力あるいは ... ズでは、ミドルウェアは逆順に呼び出されます。これには、 process_template_response() も含まれます。 ストリーミングレスポンス (streaming responses) を扱う ¶ HttpResponse とは違い、 StreamingHttpResponse は content 属性を持ちません。そのため、ミドルウェアはもは ... ストリーミングレスポンスオブジェクトかどうかをチェックし、その結果によって処理を場合分けしなければなりません。 if response . streaming : response . streaming_content = wrap_streaming_content ( response . streaming_content ) else : response . content = alter ... _content ( response . content ) 注釈 streaming_content はメモリ上に置けないくらい大きいと想定しておくべきです。レスポンスミドルウェアでは、これを新しいジェネレータでラッ ...
https://man.mtool.work/django/6.1/topics/http/middleware.html
リクエストとレスポンスのオブジェクト — Django 6.1 ドキュメント 9162
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » リクエストとレスポンスのオブジェクト ¶ 簡単な概要 ¶ Django は、システムを通じてステータスを渡すために、リクエストとレスポンスのオブジェクトを使います ... トは、すぐに閉じられます。 レスポンスに対して、イテレータからクライアントにストリーミングさせる必要がある場合には、代わりに StreamingHttpResponse クラスを使う必要があります。 ヘッダーフィールドをセットする ¶ レスポンスでヘッダーフィールドを設定または削除す ... フレーズを使用します。 reason_phrase が明示的に設定されていない場合、 status_code の値に基づいて決定されます。 HttpResponse. streaming ¶ これは常に False です。 この属性は、ミドルウェアが通常のレスポンスとは違う形でストリーミングレスポンスを扱えるようにする ... トラクターメソッドに encoder パラメータを渡すことができます。 >>> response = JsonResponse ( data , encoder = MyJSONEncoder ) StreamingHttpResponse オブジェクト ¶ class StreamingHttpResponse [ソース] ¶ StreamingHttpResponse クラスは、Djangoからブラウザへのレ ...
https://man.mtool.work/django/6.1/ref/request-response.html
リクエストとレスポンスのオブジェクト — Django 6.1 ドキュメント 9162
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » リクエストとレスポンスのオブジェクト ¶ 簡単な概要 ¶ Django は、システムを通じてステータスを渡すために、リクエストとレスポンスのオブジェクトを使います ... トは、すぐに閉じられます。 レスポンスに対して、イテレータからクライアントにストリーミングさせる必要がある場合には、代わりに StreamingHttpResponse クラスを使う必要があります。 ヘッダーフィールドをセットする ¶ レスポンスでヘッダーフィールドを設定または削除す ... フレーズを使用します。 reason_phrase が明示的に設定されていない場合、 status_code の値に基づいて決定されます。 HttpResponse. streaming ¶ これは常に False です。 この属性は、ミドルウェアが通常のレスポンスとは違う形でストリーミングレスポンスを扱えるようにする ... トラクターメソッドに encoder パラメータを渡すことができます。 >>> response = JsonResponse ( data , encoder = MyJSONEncoder ) StreamingHttpResponse オブジェクト ¶ class StreamingHttpResponse [ソース] ¶ StreamingHttpResponse クラスは、Djangoからブラウザへのレ ...
https://man.mtool.work/django/6.1/ref/request-response.html
CSVを出力する — Django 6.1 ドキュメント 7326
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » CSVを出力する ¶ このドキュメントでは、Django のビューを使って動的に CSV (Comma Separated Values) を出力する方法を説明しています。そのためには、Pytho ... ズの大きな CSV ファイルをストリーミングする ¶ 大きなサイズのレスポンスを生成するビューを取り扱うときには、代わりに Django の StreamingHttpResponse の使用を考えてみてください。例えば、生成に長時間を要するファイルをストリーミングことで、サーバーがレスポンスを ... ve compression efficiency when used with GZipMiddleware : import csv from itertools import batched from django.http import StreamingHttpResponse class Echo : """An object that implements just the write method of the file-like interface. """ def write ( se ... lf , value ): """Write the value by returning it, instead of storing in a buffer.""" return value def some_streaming_csv_view ( request ): """A view that streams a large CSV file.""" # Generate a sequence of rows. The range is based on the ...
https://man.mtool.work/django/6.1/howto/outputting-csv.html
Django 2.0 リリースノート — Django 6.1 ドキュメント 7326
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 2.0 リリースノート ¶ December 2, 2017 Django 2.0 へようこそ! このリリースノートでは、 バージョン 2.0 の新機能 と、Django 1.11 以前からアップグ ... The new chunk_size parameter of QuerySet.iterator() controls the number of rows fetched by the Python database client when streaming results from the database. For databases that don't support server-side cursors, it controls the number of results Django ... ace is increased from 20M to 50M and the default autoextend size is increased from 10M to 25M. To improve performance when streaming large result sets from the database, QuerySet.iterator() now fetches 2000 rows at a time instead of 100. The old behavior ...
https://man.mtool.work/django/6.1/releases/2.0.html
PREV 1 2 NEXT