検索

phrase: max: clip:
target: order:
Results of 31 - 40 of about 155 for QuerySet (0.058 sec.)
Django 1.7 release notes — Django 4.0.6 ドキュメント 6220
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ation serialization documentation . Calling custom QuerySet methods from the Manager ¶ Historically, the recom ... that after the first method call, you'd get back a QuerySet instance and couldn't call additional custom manag ... mon to work around this issue by creating a custom QuerySet so that custom methods could be chained; but the s ... olution had a number of drawbacks: The custom QuerySet and its custom methods were lost after the first c ...
https://man.plustar.jp/django/releases/1.7.html - [similar]
PostgreSQL specific query expressions — Django 4.0.6 ドキュメント 6196
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... rraySubquery() expressions ¶ class ArraySubquery ( queryset ) ¶ New in Django 4.0. ArraySubquery is a Subquery ... RAY constructor to build a list of values from the queryset, which must use QuerySet.values() to return only a ... bquery , values , from , list , トピック , query , queryset , next クイック検索 Last update: 2022年6月01日 « p ...
https://man.plustar.jp/django/ref/contrib/postgres/expressions.html - [similar]
Date-based mixins — Django 4.0.6 ドキュメント 6162
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... The name of the DateField or DateTimeField in the QuerySet 's model that the date-based archive should use to ... med to be in the current time zone. Otherwise, the queryset could include objects from the previous or the nex ... ta provided by the MultipleObjectMixin . get_dated_queryset ( ** lookup ) ¶ Returns a queryset, filtered using ... fined by lookup . Enforces any restrictions on the queryset, such as allow_empty and allow_future . get_date_l ...
https://man.plustar.jp/django/ref/class-based-views/mixins-date-based.html - [similar]
一対一 (one-to-one) 関係 — Django 4.0.6 ドキュメント 6127
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... o r.place = p2: >>> Restaurant . objects . all () <QuerySet [<Restaurant: Demon Dogs the restaurant>, <Restaur ... urants: >>> Place . objects . order_by ( 'name' ) <QuerySet [<Place: Ace Hardware the place>, <Place: Demon Do ... ts . filter ( place__name__startswith = "Demon" ) <QuerySet [<Restaurant: Demon Dogs the restaurant>]> >>> Res ... exclude ( place__address__contains = "Ashland" ) <QuerySet [<Restaurant: Demon Dogs the restaurant>]> This al ...
https://man.plustar.jp/django/topics/db/examples/one_to_one.html - [similar]
contenttypes フレームワーク — Django 4.0.6 ドキュメント 6000
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 'python' ) >>> t2 . save () >>> b . tags . all () <QuerySet [<TaggedItem: django>, <TaggedItem: python>]> You ... <TaggedItem: Web framework> >>> b . tags . all () <QuerySet [<TaggedItem: django>, <TaggedItem: python>, <Tagg ... . tags . set ([ t1 , t3 ]) >>> b . tags . all () <QuerySet [<TaggedItem: django>, <TaggedItem: Web developmen ... >> b . tags . remove ( t3 ) >>> b . tags . all () <QuerySet [<TaggedItem: django>]> >>> TaggedItem . objects . ...
https://man.plustar.jp/django/ref/contrib/contenttypes.html - [similar]
Django 2.0 リリースノート — Django 4.0.6 ドキュメント 6000
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... identity columns . The new chunk_size parameter of QuerySet.iterator() controls the number of rows fetched by ... results Django fetches from the database adapter. QuerySet.earliest() , QuerySet.latest() , and Meta.get_late ... orks with DurationField . Added the of argument to QuerySet.select_for_update() , supported on PostgreSQL and ... select_related() . The new field_name parameter of QuerySet.in_bulk() allows fetching results based on any uni ...
https://man.plustar.jp/django/releases/2.0.html - [similar]
データベース — Django 4.0.6 ドキュメント 5965
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ension operation. Server-side cursors ¶ When using QuerySet.iterator() , Django opens a server-side cursor . B ... ssion pooling mode. Another option is to wrap each QuerySet using server-side cursors in an atomic() block, be ... he values from UTC to local time. Row locking with QuerySet.select_for_update() ¶ MySQL and MariaDB do not sup ... lect_for_update() on MySQL, make sure you filter a queryset against at least a set of fields contained in uniq ...
https://man.plustar.jp/django/ref/databases.html - [similar]
Django 3.0.5 リリースノート — Django 4.0.6 ドキュメント 5965
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ( #30439 ). Fixed a regression in Django 3.0 where QuerySet.values() and values_list() crashed if a queryset c ... ious , up , next , ドキュメント , list , crashed , queryset クイック検索 Last update: 2022年6月01日 « previous ...
https://man.plustar.jp/django/releases/3.0.5.html - [similar]
Django 4.0 release notes — Django 4.0.6 ドキュメント 5965
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... luding directories from the template. モデル ¶ New QuerySet.contains(obj) method returns whether the queryset ... fying the number of decimal places after rounding. QuerySet.bulk_create() now sets the primary key on objects ... ltiplying and dividing by scalar values on SQLite. QuerySet.bulk_update() now returns the number of objects up ... r an empty result set. The skip_locked argument of QuerySet.select_for_update() is now allowed on MariaDB 10.6 ...
https://man.plustar.jp/django/releases/4.0.html - [similar]
Django のショートカット関数 — Django 4.0.6 ドキュメント 5965
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... arguments ¶ klass A Model class, a Manager , or a QuerySet instance from which to get the object. **kwargs Lo ... del , as shown above. However, you can also pass a QuerySet instance: queryset = Book . objects . filter ( tit ... le__startswith = 'M' ) get_object_or_404 ( queryset , pk = 1 ) The above example is a bit contrived si ... k = 1 ) but it can be useful if you are passed the queryset variable from somewhere else. Finally, you can als ...
https://man.plustar.jp/django/topics/http/shortcuts.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 12 13 NEXT