Results of 11 - 20 of about 45 for items (0.059 sec.)
- Django 3.2.8 release notes — Django 4.0.6 ドキュメント 7579
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
n in Django 3.2 that caused incorrect selection of items across all pages when actions were placed both on ...
-
https://man.plustar.jp/django/releases/3.2.8.html
- [similar]
- QuerySet API リファレンス — Django 4.0.6 ドキュメント 7518
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
the normal direction. To retrieve the "last" five items in a queryset, you could do this: my_queryset . re ...
der_by = [ '-is_recent' ]) This would sort all the items for which is_recent is true to the front of the re ...
algorithm: params = { k : v for k , v in kwargs . items () if '__' not in k } params . update ({ k : v () ...
if callable ( v ) else v for k , v in defaults . items ()}) obj = self . model ( ** params ) obj . save ( ...
-
https://man.plustar.jp/django/ref/models/querysets.html
- [similar]
- Django 1.6.2 release notes — Django 4.0.6 ドキュメント 7441
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
itance exclude() queries ( #21787 ). Added missing items to django.utils.timezone.__all__ ( #21880 ). Fixed ...
-
https://man.plustar.jp/django/releases/1.6.2.html
- [similar]
- Django 1.8.9 リリースノート — Django 4.0.6 ドキュメント 7441
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
¶ Fixed a regression that caused the "user-tools" items to display on the admin's logout page ( #26035 ). ...
-
https://man.plustar.jp/django/releases/1.8.9.html
- [similar]
- パフォーマンスと最適化 — Django 4.0.6 ドキュメント 7441
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
you could calculate the same thing - the number of items in a collection, perhaps - in a QuerySet , in Pyth ...
y incurring any trips to the database to fetch the items it describes. What gets passed around is the Query ...
Set object, not the collection of items that - eventually - will be required from the data ...
-
https://man.plustar.jp/django/topics/performance.html
- [similar]
- 組み込みタグとフィルタ — Django 4.0.6 ドキュメント 7365
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
のキーと値を表示できます: {% for key , value in data.items %} {{ key }} : {{ value }} {% endfor %} ドット演算 ...
に注意してください。したがって、もしも data 辞書が 'items' という名前のキーを持っていたなら、 data.items は ...
data.items() ではなく data['items'] の値を出力します。テンプレ ...
辞書のメソッドを使いたい場合、そのような名前のキー ( items 、 values 、 keys など) を辞書に追加しないでくださ ...
-
https://man.plustar.jp/django/ref/templates/builtins.html
- [similar]
- アグリゲーション — Django 4.0.6 ドキュメント 7365
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ppears in an ordered queryset, you might try this: items = Item . objects . order_by ( 'name' ) # Warning: ...
not quite correct! items . values ( 'data' ) . annotate ( Count ( 'id' )) . ...
want. Instead, you should construct this queryset: items . values ( 'data' ) . annotate ( Count ( 'id' )) . ...
-
https://man.plustar.jp/django/topics/db/aggregation.html
- [similar]
- テンプレート — Django 4.0.6 ドキュメント 7365
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
uest object as their argument and return a dict of items to be merged into the context. It defaults to an e ...
le should be the Loader class name, and subsequent items are passed to the Loader during initialization. Th ...
uest object as their argument and return a dict of items to be merged into the context. It defaults to an e ...
-
https://man.plustar.jp/django/topics/templates.html
- [similar]
- django.utils.html — Django 4.0.6 ドキュメント 7303
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
conditional_escape ( v ) for ( k , v ) in kwargs . items ()} return mark_safe ( format_string . format ( * ...
and wrapping punctuation from `middle`. Return the items of the new state. """ # Continue trimming until mi ...
-
https://man.plustar.jp/django/_modules/django/utils/html.html
- [similar]
- django.utils.http — Django 4.0.6 ドキュメント 7303
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
: query = query . lists () elif hasattr ( query , "items" ): query = query . items () query_params = [] for ...
-
https://man.plustar.jp/django/_modules/django/utils/http.html
- [similar]