検索

phrase: max: clip:
target: order:
Results of 41 - 50 of about 185 for objects (0.033 sec.)
TemplateResponse and SimpleTemplateResponse — Django 4.0.6 ドキュメント 5787
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... and SimpleTemplateResponse ¶ Standard HttpResponse objects are static structures. They are provided with a bl ... s a way to do just that. Unlike basic HttpResponse objects, TemplateResponse objects retain the details of th ... er in the response process. SimpleTemplateResponse objects ¶ class SimpleTemplateResponse ¶ 属性 ¶ SimpleTemp ... ult obtained from the first call. TemplateResponse objects ¶ class TemplateResponse ¶ TemplateResponse is a s ...
https://man.plustar.jp/django/ref/template-response.html - [similar]
Generic date ビュー — Django 4.0.6 ドキュメント 5765
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... an specifying whether to retrieve the full list of objects for this year and pass those to the template. If T ... rue , the list of objects will be made available to the context. If False , ... A QuerySet object containing all months that have objects available according to queryset , represented as d ... atetime.datetime objects, in ascending order. year : A date object represen ...
https://man.plustar.jp/django/ref/class-based-views/generic-date-based.html - [similar]
Django 1.4 documentation 5710
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 上に Reporter はひとつもありません。 >>> Reporter . objects . all () [] .. # Create a new Reporter. # 新しい R ... porter はデータベース上にあります。 >>> Reporter . objects . all () [ < Reporter : John Smith > ] .. # Fields ... ータベース検索 API を提供しています。 >>> Reporter . objects . get ( id = 1 ) < Reporter : John Smith > >>> Rep ... orter . objects . get ( full_name__startswith = 'John' ) < Reporte ...
https://man.plustar.jp/django/contents.html - [similar]
モデルインスタンスリファレンス — Django 4.0.6 ドキュメント 5710
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ): title = models . CharField ( max_length = 100 ) objects = BookManager () book = Book . objects . create_bo ... ータベースから再読み込みします: >>> obj = MyModel . objects . first () >>> del obj . field >>> obj . field # L ... : def test_update_result ( self ): obj = MyModel . objects . create ( val = 1 ) MyModel . objects . filter ( ... rimary-key values is mostly useful for bulk-saving objects, when you're confident you won't have primary-key ...
https://man.plustar.jp/django/ref/models/instances.html - [similar]
ページネーション — Django 4.0.6 ドキュメント 5710
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... lifting of actually splitting a QuerySet into Page objects. カスタマイズ例 ¶ Give Paginator a list of objects ... >> from django.core.paginator import Paginator >>> objects = [ 'john' , 'paul' , 'george' , 'ringo' ] >>> p = ... Paginator ( objects , 2 ) >>> p . count 4 >>> p . num_pages 2 >>> type ... e_by = 2 model = Contact This limits the number of objects per page and adds a paginator and page_obj to the ...
https://man.plustar.jp/django/topics/pagination.html - [similar]
Signals — Django 4.0.6 ドキュメント 5677
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... かの値を取ります。 "pre_add" Sent before one or more objects are added to the relation. "post_add" Sent after o ... ne or more objects are added to the relation. "pre_remove" Sent befor ... e one or more objects are removed from the relation. "post_remove" Sent ... after one or more objects are removed from the relation. "pre_clear" Sent be ...
https://man.plustar.jp/django/ref/signals.html - [similar]
クラスベースのビューでミックスインを使用する — Django 4.0.6 ドキュメント 5677
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... de more flexible defaults when dealing with actual objects. ContextMixin Every built in view which needs cont ... object, and ListView , which will render a list of objects, typically from a queryset, and optionally paginat ... ng with either a single Django object, or multiple objects. There are also mixins involved in the generic edi ... の複数のオブジェクトを対象とするビュー ¶ Lists of objects follow roughly the same pattern: we need a (possib ...
https://man.plustar.jp/django/topics/class-based-views/mixins.html - [similar]
How to write custom lookups — Django 4.0.6 ドキュメント 5655
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... タムルックアップ``ne``を実装していきます。 `` Author.objects.filter(name__ne='Jack')``は次のSQLに変換されます。 ... ません。右辺はユーザーから与えられた値です。 Author.objects.filter(name__ne='Jack') の例では、左辺は Author モ ... デルがあります。 変化が一定の量に等しい ( Experiment.objects.filter(change__abs=27) )、またはそれが一定の量を超 ... えなかった ( Experiment.objects.filter(change__abs__lt=27) ) すべての Experiment を ...
https://man.plustar.jp/django/howto/custom-lookups.html - [similar]
モデル — Django 4.0.6 ドキュメント 5655
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... h = 100 , primary_key = True ) >>> fruit = Fruit . objects . create ( name = 'Apple' ) >>> fruit . name = 'Pe ... ar' >>> fruit . save () >>> Fruit . objects . values_list ( 'name' , flat = True ) <QuerySet [ ... es of the intermediate model: >>> ringo = Person . objects . create ( name = "Ringo Starr" ) >>> paul = Perso ... n . objects . create ( name = "Paul McCartney" ) >>> beatles = ...
https://man.plustar.jp/django/topics/db/models.html - [similar]
django.utils.encoding — Django 4.0.6 ドキュメント 5622
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... only is True, don't convert (some) non-string-like objects. """ if isinstance ( s , Promise ): # The input is ... ine if the object instance is of a protected type. Objects of protected types are preserved as-is when passed ... are resolved to strings, rather than kept as lazy objects. If strings_only is True, don't convert (some) non ... -string-like objects. """ # Handle the common case first for performanc ...
https://man.plustar.jp/django/_modules/django/utils/encoding.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 12 13 14 NEXT