per page, with , order by , clip by
Results of 1 - 3 of about 3 for recipes (0.003 sec.)
全文検索 11756
全文検索 django.contrib.postgres.search モジュールのデータベース関数は PostgreSQL の 全文検索エンジン を利用しやすくしています。 このドキュメントの例では、 クエリを作成する で定義されたモデルを使用します。 参考 検索の概要については、 トピッ ... 検索することです。たとえば: >>> Entry . objects . filter ( body_text__search = "Cheese" ) <QuerySet [<Entry: Cheese on Toast recipes>, <Entry: Pizza Recipes>]> これにより、データベース内の body_text フィールドから to_tsvector が作成され、検索語 'Cheese' か ... = SearchVector ( "body_text" , "blog__tagline" ), ... ) . filter ( search = "Cheese" ) <QuerySet [<Entry: Cheese on Toast recipes>, <Entry: Pizza Recipes>]> SearchVector への引数は、任意の Expression またはフィールドの名前を指定できます。複数の引数は、 ... "body_text" ) + SearchVector ( "blog__tagline" ), ... ) . filter ( search = "Cheese" ) <QuerySet [<Entry: Cheese on Toast recipes>, <Entry: Pizza Recipes>]> config パラメータおよび weight パラメータの説明については、 検索設定を変更する と クエリを重み付 ...
https://man.mtool.work/django/6.1/ref/contrib/postgres/search.html
検索 8854
検索 ウェブアプリケーションの一般的なタスクは、ユーザーからの入力を用いてデータベース内のデータを検索することです。簡単なケースなら、オブジェクトのリストをカテゴリごとにフィルタリングすることで実現できるかもしれません。しかし、もっと複雑なユ ... グエントリを選択するクエリがあります: >>> Entry . objects . filter ( body_text__search = "cheese" ) [<Entry: Cheese on Toast recipes>, <Entry: Pizza recipes>] また、フィールドの組み合わせやリレーション先モデルでフィルタをかけることもできます: >>> Entry . ... .. search = SearchVector ( "blog__tagline" , "body_text" ), ... ) . filter ( search = "cheese" ) [ <Entry: Cheese on Toast recipes>, <Entry: Pizza Recipes>, <Entry: Dairy farming in Argentina>, ] 詳細は contrib.postgres 全文検索 ドキュメントを参照してく ...
https://man.mtool.work/django/6.1/topics/db/search.html
Django 4.2 リリースノート 7273
Django 4.2 リリースノート 2023年4月3日 Django 4.2 へようこそ! このリリースノートでは、 バージョン 4.2 の新機能 と、Django 4.1 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... リテラルとして暗黙的に解釈されるようになります。 その他 The BaseUserManager.make_random_password() method is deprecated. See recipes and best practices for using Python's secrets module to generate passwords. length_is テンプレートフィルターは、 length と ...
https://man.mtool.work/django/6.1/releases/4.2.html
PREV 1 NEXT