Results of 11 - 20 of about 155 for queryset (0.023 sec.)
- アグリゲーション — Django 4.0.6 ドキュメント 8606
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
nnotate ( num_books = Count ( 'book' )) >>> pubs < QuerySet [ < Publisher : BaloneyPress > , < Publisher : Sal ...
num_books' )[: 5 ] >>> pubs [ 0 ] . num_books 1323 QuerySet に対して集計を生成する ¶ Django では集約を生成する ...
ために 2 つの方法が用意されています。1 つめは、 全 QuerySet に対して合計値を生成する方法です。例えば、販売中の ...
います: >>> Book . objects . all () 必要なのは、この QuerySet に含まれるオブジェクトに対して合計値を計算する方法 ...
-
https://man.plustar.jp/django/topics/db/aggregation.html
- [similar]
- Multiple object mixins — Django 4.0.6 ドキュメント 7494
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
る対象のモデルです。 model = Foo と指定することは、 queryset = Foo.objects.all() の効率的な書き方で、 objects は ...
Foo の デフォルトマネージャ を表します。 queryset ¶ オブジェクトを表す QuerySet です。指定すると、 q ...
ueryset の値は model の結果を上書きします。 警告 queryset は 編集可能な 値を伴うクラスの属性なので、直接使用 ...
l() メソッドを呼び出すか、内部で複製処理を行う get_queryset() でこれを取得するようにしてください。 ordering ¶ ...
-
https://man.plustar.jp/django/ref/class-based-views/mixins-multiple-object.html
- [similar]
- Django 2.2.28 release notes — Django 4.0.6 ドキュメント 7332
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
2.2.27. CVE-2022-28346: Potential SQL injection in QuerySet.annotate() , aggregate() , and extra() ¶ QuerySet. ...
thods. CVE-2022-28347: Potential SQL injection via QuerySet.explain(**options) on PostgreSQL ¶ QuerySet.explai ...
e notes CVE-2022-28346: Potential SQL injection in QuerySet.annotate() , aggregate() , and extra() CVE-2022-28 ...
347: Potential SQL injection via QuerySet.explain(**options) on PostgreSQL 前のトピックへ Dj ...
-
https://man.plustar.jp/django/releases/2.2.28.html
- [similar]
- Django 3.2.13 release notes — Django 4.0.6 ドキュメント 7239
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
3.2.4. CVE-2022-28346: Potential SQL injection in QuerySet.annotate() , aggregate() , and extra() ¶ QuerySet. ...
thods. CVE-2022-28347: Potential SQL injection via QuerySet.explain(**options) on PostgreSQL ¶ QuerySet.explai ...
e notes CVE-2022-28346: Potential SQL injection in QuerySet.annotate() , aggregate() , and extra() CVE-2022-28 ...
347: Potential SQL injection via QuerySet.explain(**options) on PostgreSQL Bugfixes 前のトピ ...
-
https://man.plustar.jp/django/releases/3.2.13.html
- [similar]
- Single object mixins — Django 4.0.6 ドキュメント 7204
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
る対象のモデルです。 model = Foo と指定することは、 queryset = Foo.objects.all() の効率的な書き方で、 objects は ...
Foo の デフォルトマネージャ を表します。 queryset ¶ オブジェクトを表す QuerySet です。指定すると、 q ...
ueryset の値は model の結果を上書きします。 警告 queryset は 編集可能な 値を伴うクラスの属性なので、直接使用 ...
l() メソッドを呼び出すか、内部で複製処理を行う get_queryset() でこれを取得するようにしてください。 slug_field ...
-
https://man.plustar.jp/django/ref/class-based-views/mixins-single-object.html
- [similar]
- Django 4.0.4 release notes — Django 4.0.6 ドキュメント 7204
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
4.0.3. CVE-2022-28346: Potential SQL injection in QuerySet.annotate() , aggregate() , and extra() ¶ QuerySet. ...
thods. CVE-2022-28347: Potential SQL injection via QuerySet.explain(**options) on PostgreSQL ¶ QuerySet.explai ...
e notes CVE-2022-28346: Potential SQL injection in QuerySet.annotate() , aggregate() , and extra() CVE-2022-28 ...
347: Potential SQL injection via QuerySet.explain(**options) on PostgreSQL Bugfixes 前のトピ ...
-
https://man.plustar.jp/django/releases/4.0.4.html
- [similar]
- クエリー式 — Django 4.0.6 ドキュメント 6972
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
east twice as many employees # as chairs. Both the querysets below are equivalent. Company . objects . filter ...
s on single instances as above, F() can be used on QuerySets of object instances, with update() . This reduces ...
Using F() in filters ¶ F() is also very useful in QuerySet filters, where they make it possible to filter a s ...
ed directly: from django.db.models import F , Func queryset . annotate ( field_lower = Func ( F ( 'field' ), f ...
-
https://man.plustar.jp/django/ref/models/expressions.html
- [similar]
- 索引 — Django 4.0.6 ドキュメント 6903
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
dels のクラス) aggregate() (django.db.models.query.QuerySet モジュール) alias() (django.db.models.query.QueryS ...
et モジュール) all() (django.db.models.query.QuerySet モジュール) allow_distinct (Aggregate の属性) allo ...
ference の属性) annotate() (django.db.models.query.QuerySet モジュール) apnumber template filter app_directori ...
s のメソッド) as_manager() (django.db.models.query.QuerySet モジュール) as_p() (BaseFormSet のメソッド) (Form ...
-
https://man.plustar.jp/django/genindex.html
- [similar]
- Django 1.11.4 リリースノート — Django 4.0.6 ドキュメント 6776
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
empty value in the widget's HTML ( #28355 ). Fixed QuerySet.union() and difference() when combining with a que ...
ChoiceField , and ModelMultipleChoiceField . Fixed QuerySet.count() for union() , difference() , and intersect ...
her than appearing in the top-level context. Fixed queryset crash when using a GenericRelation to a proxy mode ...
ド Fixed , checkbox , when , difference , initial , queryset , union , QuerySet , crash , values クイック検索 L ...
-
https://man.plustar.jp/django/releases/1.11.4.html
- [similar]
- 複数のデータベース — Django 4.0.6 ドキュメント 6683
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
d by a router. Manually selecting a database for a QuerySet ¶ You can select the database for a QuerySet at an ...
y point in the QuerySet "chain." Call using() on the QuerySet to get anoth ...
er QuerySet that uses the specified database. using() takes a ...
. Because create_user() is a manager method, not a QuerySet method, you can't do User.objects.using('new_users ...
-
https://man.plustar.jp/django/topics/db/multi-db.html
- [similar]