検索

phrase: max: clip:
target: order:
Results of 51 - 60 of about 185 for objects (0.109 sec.)
Django の admin サイト — Django 4.0.6 ドキュメント 5622
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... interface to provide feedback on the status of the objects being edited, for example: from django.contrib imp ... ve ( commit = False ) for obj in formset . deleted_objects : obj . delete () for instance in instances : inst ... er instance . save () formset . save_m2m () Saving objects in the formset もご覧ください。 ModelAdmin. get_or ... alueError : pass else : queryset |= self . model . objects . filter ( age = search_term_as_int ) return query ...
https://man.plustar.jp/django/ref/contrib/admin/index.html - [similar]
PostgreSQL specific lookups — Django 4.0.6 ドキュメント 5567
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... an be used on CharField and TextField : >>> City . objects . filter ( name__trigram_similar = "Middlesborough ... e used on CharField and TextField : >>> Sentence . objects . filter ( name__trigram_word_similar = 'Middlesbo ... an be used on CharField and TextField : >>> City . objects . filter ( name__unaccent = "México" ) ['<City: Me ... xico>'] >>> User . objects . filter ( first_name__unaccent__startswith = "Jer ...
https://man.plustar.jp/django/ref/contrib/postgres/lookups.html - [similar]
リクエストとレスポンスのオブジェクト — Django 4.0.6 ドキュメント 5567
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ¶ class HttpResponse ¶ In contrast to HttpRequest objects, which are created automatically by Django, HttpRe ... sponse objects are your responsibility. Each view you write is re ... status_code = HTTPStatus . NO_CONTENT JsonResponse objects ¶ class JsonResponse ( data , encoder = DjangoJSON ... ntent b'{"foo": "bar"}' Serializing non-dictionary objects ¶ In order to serialize objects other than dict yo ...
https://man.plustar.jp/django/ref/request-response.html - [similar]
モデルフィールドリファレンス — Django 4.0.6 ドキュメント 5545
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... unique constraint violations when saving multiple objects with blank values. 文字列ベースと非文字列ベースのフ ... not support storing JSON scalar values. Only JSON objects and arrays (represented in Python using dict and l ... e and post_delete signals are sent for all deleted objects. PROTECT ¶ Prevent deletion of the referenced obje ... lationship. For example: >>> artist_one = Artist . objects . create ( name = 'artist one' ) >>> artist_two = ...
https://man.plustar.jp/django/ref/models/fields.html - [similar]
Django Utils — Django 4.0.6 ドキュメント 5512
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... includes functions to patch the header of response objects directly and decorators that change functions to d ... me formats (or some close alternatives) and return objects from the corresponding classes in Python's datetim ... ース] ¶ Returns a str object representing arbitrary object s . Treats bytestrings using the encoding codec. If ... nly is True , don't convert (some) non-string-like objects. is_protected_type ( obj ) [ソース] ¶ Determine if ...
https://man.plustar.jp/django/ref/utils.html - [similar]
ファイルの管理 — Django 4.0.6 ドキュメント 5512
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... the details of the attached photo: >>> car = Car . objects . get ( name = "57 Chevy" ) >>> car . photo <Image ... ath ( '/some/external/specs.pdf' ) >>> car = Car . objects . get ( name = '57 Chevy' ) >>> with path . open ( ... example: >>> from PIL import Image >>> car = Car . objects . get ( name = '57 Chevy' ) >>> car . photo . widt ... ssing file fields in a loop over a large number of objects. If files are not manually closed after accessing ...
https://man.plustar.jp/django/topics/files.html - [similar]
PostgreSQL specific query expressions — Django 4.0.6 ドキュメント 5490
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... to annotate all related books to an author as JSON objects: >>> from django.db.models import OuterRef >>> fro ... xpressions import ArraySubquery >>> books = Book . objects . filter ( author = OuterRef ( 'pk' )) . values ( ... e' , pages = 'pages' ) ... ) >>> author = Author . objects . annotate ( books = ArraySubquery ( books )) . fi ...
https://man.plustar.jp/django/ref/contrib/postgres/expressions.html - [similar]
Django 1.7 release notes — Django 4.0.6 ドキュメント 5490
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... tarian = models . BooleanField ( default = False ) objects = FoodQuerySet . as_manager () Food . objects . pi ... els . Model ): blog = models . ForeignKey ( Blog ) objects = models . Manager () # Default Manager entries = ... EntryManager () # Custom Manager b = Blog . objects . get ( id = 1 ) b . entry_set ( manager = 'entrie ... ls under the name DEFAULT_MESSAGE_LEVELS . Message objects now have a level_tag attribute that contains the s ...
https://man.plustar.jp/django/releases/1.7.html - [similar]
The sitemap framework — Django 4.0.6 ドキュメント 5457
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... priority = 0.5 def items ( self ): return Entry . objects . filter ( is_draft = False ) def lastmod ( self , ... is a method that returns a sequence or QuerySet of objects. The objects returned will get passed to any calla ... d. A method that returns a sequence or QuerySet of objects. The framework doesn't care what type of objects t ... hey are; all that matters is that these objects get passed to the location() , lastmod() , changef ...
https://man.plustar.jp/django/ref/contrib/sitemaps.html - [similar]
検索 — Django 4.0.6 ドキュメント 5457
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... to allow lookup up an author like so: >>> Author . objects . filter ( name__contains = 'Terry' ) [<Author: Te ... ent is to use unaccented comparison : >>> Author . objects . filter ( name__unaccent__icontains = 'Helen' ) [ ... ch compares sequences of letters. 例: >>> Author . objects . filter ( name__unaccent__lower__trigram_similar ... e blog entries which mention "cheese": >>> Entry . objects . filter ( body_text__search = 'cheese' ) [<Entry: ...
https://man.plustar.jp/django/topics/db/search.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 NEXT