Results of 71 - 80 of about 155 for QuerySet (0.070 sec.)
- Conditional Expressions — Django 4.0.6 ドキュメント 5444
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
.. ), ... ) . values_list ( 'name' , 'discount' ) <QuerySet [('Jane Doe', '0%'), ('James Smith', '5%'), ('Jack ...
... ) ... ) . values_list ( 'name' , 'discount' ) <QuerySet [('Jane Doe', '5%'), ('James Smith', '0%'), ('Jack ...
, ... ) . values_list ( 'name' , 'account_type' ) <QuerySet [('Jack Black', 'P')]> 高度なクエリ ¶ Conditional ...
objects . values_list ( 'name' , 'account_type' ) <QuerySet [('Jane Doe', 'G'), ('James Smith', 'R'), ('Jack B ...
-
https://man.plustar.jp/django/ref/models/conditional-expressions.html
- [similar]
- Django 1.4 release notes — Django 4.0.6 ドキュメント 5444
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
nsert large datasets for improved performance, and QuerySet.prefetch_related , a method to batch-load related ...
SELECT FOR UPDATE support ¶ Django 1.4 includes a QuerySet.select_for_update() method, which generates a SELE ...
. See the bulk_create() docs for more information. QuerySet.prefetch_related ¶ Similar to select_related() but ...
roader scope, prefetch_related() has been added to QuerySet . This method returns a new QuerySet that will pre ...
-
https://man.plustar.jp/django/releases/1.4.html
- [similar]
- Django 1.8.3 リリースノート — Django 4.0.6 ドキュメント 5444
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
missing __init__.py or is a file ( #24848 ). Fixed QuerySet.exists() returning incorrect results after annotat ...
primary_key=True to unique=True ( #24893 ). Fixed queryset pickling when using prefetch_related() after delet ...
quashed (replacement) migrations ( #24628 ). Fixed queryset annotations when using Case expressions with exclu ...
-
https://man.plustar.jp/django/releases/1.8.3.html
- [similar]
- Django 1.8.6 リリースノート — Django 4.0.6 ドキュメント 5444
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
delChoiceField to ignore prefetch_related() on its queryset ( #25496 ). Allowed "mode=memory" in SQLite test d ...
ents any models generated in data migrations using QuerySet.defer() from leaking to test and application code. ...
-
https://man.plustar.jp/django/releases/1.8.6.html
- [similar]
- Django の概要 — Django 4.0.6 ドキュメント 5409
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
the system yet. >>> Reporter . objects . all () < QuerySet [] > # Create a new Reporter. >>> r = Reporter ( f ...
in the database. >>> Reporter . objects . all () < QuerySet [ < Reporter : John Smith > ] > # Fields are repre ...
in the database. >>> Article . objects . all () < QuerySet [ < Article : Django is cool > ] > # Article objec ...
to Article objects. >>> r . article_set . all () < QuerySet [ < Article : Django is cool > ] > # The API follo ...
-
https://man.plustar.jp/django/intro/overview.html
- [similar]
- Django 1.11.2 リリースノート — Django 4.0.6 ドキュメント 5409
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ngo 1.11 of the fields in the defaults argument of QuerySet.get_or_create() and update_or_create() to reallow ...
ies ( #28222 ). Fixed MultipleObjectMixin.paginate_queryset() crash on Python 2 if the InvalidPage message con ...
-
https://man.plustar.jp/django/releases/1.11.2.html
- [similar]
- Django 2.0.2 リリースノート — Django 4.0.6 ドキュメント 5409
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
deleted ( #29016 ). Fixed regression in the use of QuerySet.values_list(..., flat=True) followed by annotate() ...
( #29067 ). Fixed a regression where a queryset that annotates with geometry objects crashes ( #29 ...
-
https://man.plustar.jp/django/releases/2.0.2.html
- [similar]
- はじめての Django アプリ作成、その 5 — Django 4.0.6 ドキュメント 5374
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
>>> response . context [ 'latest_question_list' ] <QuerySet [<Question: What's up?>]> ビューを改良する ¶ 現在の ...
ntext_object_name = 'latest_question_list' def get_queryset ( self ): """Return the last five published questi ...
ion . objects . order_by ( '-pub_date' )[: 5 ] get_queryset() メソッドを修正して、日付を timezone.now() と比較 ...
jango.utils import timezone そして、次のように get_queryset メソッドを修正します。 polls/views.py ¶ def get_qu ...
-
https://man.plustar.jp/django/intro/tutorial05.html
- [similar]
- Django 2.0.3 リリースノート — Django 4.0.6 ドキュメント 5374
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
. Bugfixes ¶ Fixed a regression that caused sliced QuerySet.distinct().order_by() followed by count() to crash ...
isplaying "undefined" ( #29109 ). Fixed crash with QuerySet.order_by(Exists(...)) ( #29118 ). Made Q.deconstru ...
-
https://man.plustar.jp/django/releases/2.0.3.html
- [similar]
- GeoDjango Tutorial — Django 4.0.6 ドキュメント 5339
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
. objects . filter ( mpoly__contains = pnt_wkt ) <QuerySet [<WorldBorder: United States>]> Here, you retrieve ...
d a QuerySet with only one model: the border of the United Stat ...
e WorldBorder instance for San Marino instead of a queryset: >>> from django.contrib.gis.geos import Point >>> ...
ansform(%s, 4326)) >>> qs # printing evaluates the queryset <QuerySet [<WorldBorder: United States>]> Raw quer ...
-
https://man.plustar.jp/django/ref/contrib/gis/tutorial.html
- [similar]