Results of 21 - 30 of about 155 for QuerySet (0.045 sec.)
- Django 3.0.7 リリースノート — Django 4.0.6 ドキュメント 6613
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
( #31538 ). Fixed a regression in Django 3.0 where QuerySet.values() and values_list() crashed if a queryset c ...
3.0 where aggregates used wrong annotations when a queryset has multiple subqueries annotations ( #31568 ). Fi ...
xed a regression in Django 3.0 where QuerySet.values() and values_list() crashed if a queryset c ...
ression , ForeignKeyRawIdWidget , admin , values , queryset , key , malformed , leakage , data クイック検索 La ...
-
https://man.plustar.jp/django/releases/3.0.7.html
- [similar]
- ビルトインのクラスベースのジェネリックビュー — Django 4.0.6 ドキュメント 6613
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
per () . get_context_data ( ** kwargs ) # Add in a QuerySet of all the books context [ 'book_list' ] = Book . ...
クトを指定する唯一の方法ではありません。次のように、 queryset 引数を使ってオブジェクトを指定することもできます。 ...
( DetailView ): context_object_name = 'publisher' queryset = Publisher . objects . all () model = Publisher と ...
指定することは、 queryset = Publisher.objects.all() と言うことです。しかし、 ...
-
https://man.plustar.jp/django/topics/class-based-views/generic-display.html
- [similar]
- クラスベースのビューでミックスインを使用する — Django 4.0.6 ドキュメント 6613
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ch will render a list of objects, typically from a queryset, and optionally paginate them. This will introduce ...
、ビューの model 属性、あるいは提供されている場合は queryset 属性からオブジェクトを検索します)。 SingleObjectMi ...
(possibly paginated) list of objects, typically a QuerySet , and then we need to make a TemplateResponse with ...
uses MultipleObjectMixin , which provides both get_queryset() and paginate_queryset() . Unlike with SingleObje ...
-
https://man.plustar.jp/django/topics/class-based-views/mixins.html
- [similar]
- Django の admin サイト — Django 4.0.6 ドキュメント 6521
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ンのみを表示します。 注釈 date_hierarchy は内部的に QuerySet.datetimes() を使用します。タイムゾーンサポートが有 ...
e` と parameter_name 属性を指定し、また lookups と queryset メソッドをオーバーライドする必要があります。たとえ ...
ies' )), ( '90s' , _ ( 'in the nineties' )), ) def queryset ( self , request , queryset ): """ Returns the fil ...
tered queryset based on the value provided in the query string an ...
-
https://man.plustar.jp/django/ref/contrib/admin/index.html
- [similar]
- Form fields — Django 4.0.6 ドキュメント 6521
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
hoiceField . Both of these fields require a single queryset parameter that is used to create the choices for t ...
f the form. For more complex uses, you can specify queryset=None when declaring the form field and then popula ...
te the queryset in the form's __init__() method: class FooMultiple ...
): foo_select = forms . ModelMultipleChoiceField ( queryset = None ) def __init__ ( self , * args , ** kwargs ...
-
https://man.plustar.jp/django/ref/forms/fields.html
- [similar]
- Django 3.2.5 release notes — Django 4.0.6 ドキュメント 6417
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
021-35042: Potential SQL injection via unsanitized QuerySet.order_by() input ¶ Unsanitized user input passed t ...
o QuerySet.order_by() could bypass intended column reference ...
a regression in Django 3.2 that caused a crash of QuerySet.values_list(…, named=True) after prefetch_related( ...
021-35042: Potential SQL injection via unsanitized QuerySet.order_by() input Bugfixes 前のトピックへ Django 3. ...
-
https://man.plustar.jp/django/releases/3.2.5.html
- [similar]
- Django 3.2.1 release notes — Django 4.0.6 ドキュメント 6382
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
a regression in Django 3.2 that caused a crash of QuerySet.values()/values_list() after QuerySet.union() , in ...
a regression in Django 3.2 that caused a crash of QuerySet.update() on a queryset ordered by inherited or joi ...
h) ( #32665 ). Fixed a long standing bug involving queryset bitwise combination when used with subqueries that ...
). The admin changelist now uses Exists() instead QuerySet.distinct() because calling delete() after distinct ...
-
https://man.plustar.jp/django/releases/3.2.1.html
- [similar]
- モデルからフォームを作成する — Django 4.0.6 ドキュメント 6382
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
.forms.ModelChoiceField によって表現され、モデルの QuerySet を選択肢として持つ ChoiceField です。 ManyToManyFi ...
odelMultipleChoiceField によって表現され、モデルの QuerySet を選択肢として持つ MultipleChoiceField です。 加え ...
100 ) authors = forms . ModelMultipleChoiceField ( queryset = Author . objects . all ()) ModelForm の検証 (バリ ...
セット (例えば Author.objects.all() ) を使用します。 queryset 属性を使うことで、この動作をオーバーライドできます ...
-
https://man.plustar.jp/django/topics/forms/modelforms.html
- [similar]
- Generic date ビュー — Django 4.0.6 ドキュメント 6324
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
トのコンテキストは以下のようになります: date_list : queryset に従ってオブジェクトを利用可能にするすべての年を含 ...
む QuerySet オブジェクトです。 datetime.datetime オブジェクトと ...
made available to the context. If False , the None queryset will be used as the object list. By default, this ...
のコンテキストは以下のようになります: date_list : A QuerySet object containing all months that have objects ava ...
-
https://man.plustar.jp/django/ref/class-based-views/generic-date-based.html
- [similar]
- Django 3.1.13 release notes — Django 4.0.6 ドキュメント 6289
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
021-35042: Potential SQL injection via unsanitized QuerySet.order_by() input ¶ Unsanitized user input passed t ...
o QuerySet.order_by() could bypass intended column reference ...
021-35042: Potential SQL injection via unsanitized QuerySet.order_by() input 前のトピックへ Django 3.1.14 rele ...
ード release , notes , deprecation , input , order , QuerySet , injection , Potential , トピック , path クイック ...
-
https://man.plustar.jp/django/releases/3.1.13.html
- [similar]