検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 86 for instances (0.005 sec.)
contenttypes フレームワーク — Django 4.0.6 ドキュメント 12842
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... t django.contrib.contenttypes.models.ContentType . Instances of ContentType represent and store information abo ... ut the models installed in your project, and new instances of ContentType are automatically created whenever ... new models are installed. Instances of ContentType have methods for returning the mode ... ods for working with ContentType and for obtaining instances of ContentType for a particular model. Relations b ...
https://man.plustar.jp/django/ref/contrib/contenttypes.html - [similar]
Django 1.7 release notes — Django 4.0.6 ドキュメント 12667
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... having to worry about the details such as creating instances of django.forms.utils.ErrorList or dealing with Fo ... orms.utils.ErrorList now store the ValidationError instances so these metadata can be retrieved at any time thr ... rors.as_data method. The retrieved ValidationError instances can then be identified thanks to their error code ... d to store error strings now store ValidationError instances and public APIs have been adapted to make this as ...
https://man.plustar.jp/django/releases/1.7.html - [similar]
Model _meta API — Django 4.0.6 ドキュメント 9904
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... hat it provides can be used to: Retrieve all field instances of a model Retrieve a single field instance of a m ... field named 'does_not_exist' Retrieving all field instances of a model ¶ Options. get_fields ( include_parents ... d instance of a model by name Retrieving all field instances of a model 前のトピックへ Constraints reference 次 ... stance , Retrieving , Options , related , single , instances , models クイック検索 Last update: 2022年6月01日 « ...
https://man.plustar.jp/django/ref/models/meta.html - [similar]
モデルからフォームを作成する — Django 4.0.6 ドキュメント 9729
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... }), } The widgets dictionary accepts either widget instances (e.g., Textarea(...) ) or classes (e.g., Textarea ... POST ) # Assuming all is valid, save the data. >>> instances = formset . save () The save() method returns the ... tabase and won't be included in the return value ( instances , in the above example). When fields are missing f ... se . Pass commit=False to return the unsaved model instances: # don't save to the database >>> instances = form ...
https://man.plustar.jp/django/topics/forms/modelforms.html - [similar]
Django オブジェクトのシリアル化 — Django 4.0.6 ドキュメント 9554
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ument can be any iterator that yields Django model instances, but it'll almost always be a QuerySet). django.co ... deserializer will not be able to save deserialized instances. 継承されたモデル ¶ If you have a model that is de ... nored. In order to fully serialize your Restaurant instances, you will need to serialize the Place models as we ... ects. Instead, they are special DeserializedObject instances that wrap a created -- but unsaved -- object and a ...
https://man.plustar.jp/django/topics/serialization.html - [similar]
Django の admin サイト — Django 4.0.6 ドキュメント 9204
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... mset ( self , request , form , formset , change ): instances = formset . save ( commit = False ) for obj in for ... deleted_objects : obj . delete () for instance in instances : instance . user = request . user instance . save ... y ( request )} - { 'rank' } ModelAdmin. get_inline_instances ( request , obj = None ) ¶ The get_inline_instance ... delAdmin ): inlines = ( MyInline ,) def get_inline_instances ( self , request , obj = None ): return [ inline ( ...
https://man.plustar.jp/django/ref/contrib/admin/index.html - [similar]
Django 1.5 release notes — Django 4.0.6 ドキュメント 8341
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... to make some changes to the way you reference User instances. You should also document any specific features of ... to avoid overwriting concurrent changes. Deferred instances (those loaded by .only() or .defer() ) will automa ... ntation for more details. Caching of related model instances ¶ When traversing relations, the ORM will avoid re ... arsing the tag's content. Retrieval of ContentType instances associated with proxy models ¶ The methods Content ...
https://man.plustar.jp/django/releases/1.5.html - [similar]
Related objects reference — Django 4.0.6 ドキュメント 8179
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... y-to-many relationships add() accepts either model instances or field values, normally primary keys, as the *ob ... o-many relationships remove() accepts either model instances or field values, normally primary keys, as the *ob ... relationships set() accepts a list of either model instances or field values, normally primary keys, as the obj ...
https://man.plustar.jp/django/ref/models/relations.html - [similar]
Django 1.2 リリースノート — Django 4.0.6 ドキュメント 8004
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... nt when you call save() . Model validation ¶ Model instances now have support for validating their own data , a ... lambda self : self . __dir__ ()) __dict__ on model instances ¶ Historically, the __dict__ attribute of a model ... Django 1.2 has added a _state attribute to object instances. This attribute will appear in __dict__ for a mode ... ss . To upgrade your code, you need to replace any instances of this: user . message_set . create ( 'a message' ...
https://man.plustar.jp/django/releases/1.2.html - [similar]
Django 3.1.1 release notes — Django 4.0.6 ドキュメント 8004
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... xed encoding session data while upgrading multiple instances of the same project to Django 3.1 ( #31864 ). Adju ... ing a regression in Django 2.0, when copying model instances with a cached fields value ( #31863 ). Fixed a reg ...
https://man.plustar.jp/django/releases/3.1.1.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 NEXT