per page, with , order by , clip by
Results of 1 - 5 of about 5 for weight (0.002 sec.)
全文検索 12170
全文検索 django.contrib.postgres.search モジュールのデータベース関数は PostgreSQL の 全文検索エンジン を利用しやすくしています。 このドキュメントの例では、 クエリを作成する で定義されたモデルを使用します。 参考 検索の概要については、 トピッ ... PS に 'django.contrib.postgres' を含める必要があります。 SearchVector class SearchVector ( * expressions , config = None , weight = None ) [ソース] 単一のフィールドに対する検索は素晴らしいですが、制約があります。検索対象となる Entry インスタンスは Blog ... filter ( search = "Cheese" ) <QuerySet [<Entry: Cheese on Toast recipes>, <Entry: Pizza Recipes>]> config パラメータおよび weight パラメータの説明については、 検索設定を変更する と クエリを重み付けする を参照してください。 SearchQuery class SearchQuery ... 照してください。 Changed in Django 6.0: Lexeme オブジェクトが追加されました。 SearchRank class SearchRank ( vector , query , weights = None , normalization = None , cover_density = False ) [ソース] これまでに、ベクトルとクエリの間で一致する結果を返してき ...
https://man.mtool.work/django/6.1/ref/contrib/postgres/search.html
モデル index リファレンス 10479
モデル index リファレンス Index クラスを利用すると、データベースのインデックスの作成が簡単になります。インデックスは、 Meta.indexes オプションを使用して追加できます。このドキュメントでは、 index options を含む Index の API リファレンスを説明 ... 値の降順と、 pub_date フィールドのデフォルトの昇順で、インデックスを作成します。 もう1つの例: Index ( F ( "height" ) * F ( "weight" ), Round ( "weight" ), name = "calc_idx" ) この例は、 height および weight フィールドの積の結果と、 weight を直近の整数に ...
https://man.mtool.work/django/6.1/ref/models/indexes.html
Django 3.2 リリースノート 8015
Django 3.2 リリースノート April 6, 2021 Django 3.2 へようこそ! このリリースノートでは、 バージョン 3.2 の新機能 と、Django 3.1 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... els . CharField ( max_length = 255 ) last_name = models . CharField ( max_length = 255 ) height = models . IntegerField () weight = models . IntegerField () class Meta : indexes = [ Index ( Lower ( "first_name" ), Upper ( "last_name" ) . desc (), name ... = "first_last_name_idx" , ), Index ( F ( "height" ) / ( F ( "weight" ) + Value ( 5 )), name = "calc_idx" , ), ] Functional indexes are added to models using the Meta.indexes option. pymemcac ...
https://man.mtool.work/django/6.1/releases/3.2.html
新しいコントリビューターへのアドバイス 7813
新しいコントリビューターへのアドバイス 新しいコントリビューターで、何をするべきかわかりませんか? 助けたいと思っているのにどこから手を付ければいいのかわかりませんか? このセクションはあなたのためにあります。 立ち上げる! Django へのコントリビュ ... s, there had better be a good reason. Arguments like "I couldn't find any existing tests of this feature" don't carry much weight. While it may be true, that means you have the extra-important job of writing the very first tests for that feature, not t ...
https://man.mtool.work/django/6.1/internals/contributing/new-contributors.html
contenttypes フレームワーク 7445
contenttypes フレームワーク Django には contenttypes アプリケーションが含まれており、 Django を使ったプロジェクトにインストールされているすべてのモデルを追跡し、モデルを扱うための高レベルで汎用的なインターフェースを提供します。 概要 content ... ark . objects . create ( url = "https://www.djangoproject.com/" ) >>> animal = Animal . objects . create ( name = "lion" , weight = 100 ) >>> TaggedItem . objects . create ( tag = "great" , content_object = bookmark ) >>> TaggedItem . objects . create ...
https://man.mtool.work/django/6.1/ref/contrib/contenttypes.html
PREV 1 NEXT