per page, with , order by , clip by
Results of 1 - 10 of about 35 for range (0.003 sec.)
ページ分割 (Paginator) 12793
ページ分割 (Paginator) Django はページ分割されたデータを管理するのに役立ついくつかのクラスを提供しています。これらのクラスは django/core/paginator.py にあります。 例については ページ分割 (Pagination) のトピックガイド を参照してください。 Pa ... eNotAnInteger を発生させます。指定されたページ番号が存在しない場合、 EmptyPage を発生させます。 Paginator. get_elided_page_range ( number , * , on_each_side = 3 , on_ends = 2 ) [ソース] Paginator.page_range に似た1から始まるページ番号のリストを返します ... 表示されます。 指定されたページ番号が存在しない場合は InvalidPage を発生させます。 属性 Paginator. ELLIPSIS get_elided_page_range() によって返されるページ範囲において、ページ番号の代わりに使用される翻訳可能な文字列です。デフォルトは '…' です。 Paginato ... ブジェクトは、より効率的な count() メソッドを使用できます。 Paginator. num_pages [ソース] トータルのページ数 Paginator. page_range [ソース] 1から始まるページ数の範囲のイテレータです。たとえば、 [1, 2, 3, 4] を生成します。 AsyncPaginator class New in Dja ...
https://man.mtool.work/django/6.1/ref/paginator.html
ページ分割 (Pagination) 12793
ページ分割 (Pagination) Django は、ページ分割 (ページネーション) されたデータを管理するための高レベルと低レベルの方法を提供しています。つまり、"前へ/次へ" リンクを持つ、複数のページに分割されたデータです。 Paginator クラス 内部では、ページ分 ... , "paul" , "george" , "ringo" ] >>> p = Paginator ( objects , 2 ) >>> p . count 4 >>> p . num_pages 2 >>> type ( p . page_range ) <class 'range'> >>> p . page_range range(1, 3) >>> page1 = p . page ( 1 ) >>> page1 <Page 1 of 2> >>> page1 . object_lis ...
https://man.mtool.work/django/6.1/topics/pagination.html
LayerMapping データインポートユーティリティ 10200
LayerMapping データインポートユーティリティ LayerMapping クラスは、ベクトル空間データファイル (例: shapefile) の内容を GeoDjango モデルにマッピングする方法を提供します。 このユーティリティは、ベクターレイヤーからジオメトリとフィールドを取り ... るデータベースを設定します。デフォルトは 'default' です。 save() のキーワード引数 LayerMapping. save ( verbose = False , fid_range = False , step = False , progress = False , silent = False , stream = sys.stdout , strict = False ) [ソース] The save() me ... cepts keywords. These keywords are used for controlling output logging, error handling, and for importing specific feature ranges. Save のキーワード引数 説明 fid_range May be set with a slice or tuple of (begin, end) feature ID's to map from the data ... source. In other words, this keyword enables the user to selectively import a subset range of features in the geographic data source. progress When this keyword is set, status information will be printed giving th ...
https://man.mtool.work/django/6.1/ref/contrib/gis/layermapping.html
PostgreSQL 固有のモデルフィールド 10200
PostgreSQL 固有のモデルフィールド これらのフィールドは全て django.contrib.postgres.fields モジュールから利用できます。 これらのフィールドにインデックスを付ける Index と Field.db_index は両方とも B-tree インデックスを作成しますが、複雑なデー ... ベントの開始と終了のタイムスタンプや、アクティビティに適した年齢の範囲などです。 すべての範囲フィールドはPythonでは psycopg Range オブジェクト に変換されますが、境界情報が不要な場合はタプルを入力として受け付けます。デフォルトは下界を含み、上界を含まない ... ) です ( different bounds の詳細についてはPostgreSQLのドキュメントを参照してください) 。離散範囲でないフィールド ( DateTimeRangeField と DecimalRangeField ) のデフォルトの境界は default_bounds 引数で変更できます。 PostgreSQL は要素を持たない範囲を正規 ... 化して空の範囲として扱います。 Range(datetime.date(2005, 6, 21), datetime.date(2005, 6, 21)) や [4, 4) のように、下限を含み上限を含まない範囲において、両方の値 ...
https://man.mtool.work/django/6.1/ref/contrib/postgres/fields.html
Django 1.9 リリースノート 9420
Django 1.9 リリースノート December 1, 2015 Django 1.9 へようこそ! このリリースノートでは、 バージョン 1.9 の新機能 と、Django 1.8 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機 ... 含まれるデフォルトの OpenLayers ライブラリのバージョンが 2.13 から 2.13.1 にアップデートされました。 django.contrib.postgres range フィールドに対応するいくつかのビルトインのフィールドに対する rangefield.contained_by lookup のサポートが追加されました。 A ... e() . Tags that follow these rules will be correct and safe whether they are run on Django 1.9+ or earlier. Paginator.page_range Paginator.page_range is now an iterator instead of a list. In versions of Django previous to 1.8, Paginator.page_range ret ... urned a list in Python 2 and a range in Python 3. Django 1.8 consistently returned a list, but an iterator is more efficient. Existing code that depends on lis ...
https://man.mtool.work/django/6.1/releases/1.9.html
PostgreSQL 固有のモデルインデックス 9165
PostgreSQL 固有のモデルインデックス 以下はPostgreSQL固有の django.contrib.postgres.indexes モジュールから利用可能な インデックス です。 BloomIndex class BloomIndex ( * expressions , length = None , columns = () , ** options ) [ソース] bloom ... 大32個の値を持つタプルまたはリストを取ります。 BrinIndex class BrinIndex ( * expressions , autosummarize = None , pages_per_range = None , ** options ) [ソース] BRIN index を作成します。 autosummarize パラメータを True に設定すると、autovacuum による a ... utomatic summarization を有効にできます。 pages_per_range 引数は正の整数を取ります。 BTreeIndex class BTreeIndex ( * expressions , fillfactor = None , deduplicate_items = None , ** ... ます: ExclusionConstraint ( name = "exclude_overlapping_ops" , expressions = [ ( OpClass ( "circle" , name = "circle_ops" ), RangeOperators . OVERLAPS ), ], ) これは circle_ops を使用して circle 上に排他制約を作成します。 ...
https://man.mtool.work/django/6.1/ref/contrib/postgres/indexes.html
CSVを出力する 8911
CSVを出力する このドキュメントでは、Django のビューを使って動的に CSV (Comma Separated Values) を出力する方法を説明しています。そのためには、Python のCSV ライブラリか Django のテンプレートシステムを使います。 Python の CSV ライブラリを使う ... ue 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 maximum number of # rows that can be handled by a single sheet in most spreadsheet # applications. rows = ... ([ "Row {} " . format ( idx ), str ( idx )] for idx in range ( 65536 )) pseudo_buffer = Echo () writer = csv . writer ( pseudo_buffer ) def stream_batched_rows (): for batch in batche ...
https://man.mtool.work/django/6.1/howto/outputting-csv.html
Django 1.11.2 リリースノート 8656
Django 1.11.2 リリースノート June 1, 2017 Django 1.11.2 adds a minor feature and fixes several bugs in 1.11.1. Also, the latest string translations from Transifex are incorporated. Minor feature The new LiveServerTestCase.port attribute rea ... ction of GDAL 2.1 on Windows ( #28181 ). Made date-based generic views return a 404 rather than crash when given an out of range date ( #28209 ). Fixed a regression where file_move_safe() crashed when moving files to a CIFS mount ( #28170 ). Moved the ...
https://man.mtool.work/django/6.1/releases/1.11.2.html
Django 1.11.5 リリースノート 8656
Django 1.11.5 リリースノート September 5, 2017 Django 1.11.5 fixes a security issue and several bugs in 1.11.4. CVE-2017-12794: Possible XSS in traceback section of technical 500 debug page In older versions, HTML autoescaping was disabled ... d POST request support to LogoutView , for equivalence with the function-based logout() view ( #28513 ). Omitted pages_per_range from BrinIndex.deconstruct() if it's None ( #25809 ). Fixed a regression where SelectDateWidget localized the years in the ...
https://man.mtool.work/django/6.1/releases/1.11.5.html
Django 6.1.1 release notes 8656
Django 6.1.1 release notes September 2, 2026 Django 6.1.1 fixes one crash in Django 5.2 and several bugs in 6.1. バグ修正 Fixed a crash in Django 5.2 when combining distinct(*fields) with order_by() and values() and using two lookup paths r ... 63 ). Fixed a regression in Django 6.1 that caused __in lookups on annotations to erroneously return empty querysets and __range lookups to crash when passed an iterator ( #37311 ). Fixed a bug in Django 6.1 where QuerySet.in_bulk() chained after Quer ...
https://man.mtool.work/django/6.1/releases/6.1.1.html
PREV 1 2 3 4 NEXT