検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 57 for parent (0.024 sec.)
Django 2.1.15 リリースノート — Django 4.0.6 ドキュメント 13863
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ince Django 2.1, a Django model admin displaying a parent model with related model inlines, where the user h ... as view-only permissions to a parent model but edit permissions to the inline model, wo ... uld display a read-only view of the parent model but editable forms for the inline. Submittin ... g these forms would not allow direct edits to the parent model, but would trigger the parent model's save() ...
https://man.plustar.jp/django/releases/2.1.15.html - [similar]
Django 2.2.8 リリースノート — Django 4.0.6 ドキュメント 13657
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ince Django 2.1, a Django model admin displaying a parent model with related model inlines, where the user h ... as view-only permissions to a parent model but edit permissions to the inline model, wo ... uld display a read-only view of the parent model but editable forms for the inline. Submittin ... g these forms would not allow direct edits to the parent model, but would trigger the parent model's save() ...
https://man.plustar.jp/django/releases/2.2.8.html - [similar]
asgiref.sync — Django 4.0.6 ドキュメント 11469
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... threadlocal, so that tasks can work out what their parent used. executors = Local () def __init__ ( self , a ... "main_event_loop_pid" , None ) # We make sure the parent loop is from the same process - if # they've forke ... op ( self . main_event_loop ) def __get__ ( self , parent , objtype ): """ Include self for methods """ func ... = functools . partial ( self . __call__ , parent ) return functools . update_wrapper ( func , self ...
https://man.plustar.jp/django/_modules/asgiref/sync.html - [similar]
Django 1.0 リリースノート — Django 4.0.6 ドキュメント 8767
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... aware of this caveat: child models using a custom parent_link and to_field will cause database integrity er ... of models like the following are not valid : class Parent ( models . Model ): name = models . CharField ( ma ... els . IntegerField ( unique = True ) class Child ( Parent ): father = models . OneToOneField ( Parent , prim ... ary_key = True , to_field = "other_value" , parent_link = True ) value = models . IntegerField () Thi ...
https://man.plustar.jp/django/releases/1.0.html - [similar]
素の SQL 文の実行 — Django 4.0.6 ドキュメント 8664
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 異なる利用例です: >>> cursor . execute ( "SELECT id, parent_id FROM test LIMIT 2" ) >>> cursor . fetchall () ( ... 4360880, None)) >>> cursor . execute ( "SELECT id, parent_id FROM test LIMIT 2" ) >>> dictfetchall ( cursor ... ) [{'parent_id': None, 'id': 54360982}, {'parent_id': None, 'i ... d': 54360880}] >>> cursor . execute ( "SELECT id, parent_id FROM test LIMIT 2" ) >>> results = namedtuplefe ...
https://man.plustar.jp/django/topics/db/sql.html - [similar]
mixinを編集する — Django 4.0.6 ドキュメント 8076
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... tributes. For example, you could use success_url="/parent/{parent_id}/" to redirect to a URL composed out of ... the parent_id field on a model. delete ( request , * args , * ...
https://man.plustar.jp/django/ref/class-based-views/mixins-editing.html - [similar]
Generic editing ビュー — Django 4.0.6 ドキュメント 7974
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... not intended to be used directly, but rather as a parent class of the django.views.generic.edit.FormView or ... not intended to be used directly, but rather as a parent class of the django.views.generic.edit.CreateView ... not intended to be used directly, but rather as a parent class of the django.views.generic.edit.UpdateView ... not intended to be used directly, but rather as a parent class of the django.views.generic.edit.DeleteView ...
https://man.plustar.jp/django/ref/class-based-views/generic-editing.html - [similar]
Porting your apps from Django 0.96 to 1.0 — Django 4.0.6 ドキュメント 7871
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... to admin.py . Here's an example: Old (0.96): class Parent ( models . Model ): ... class Child ( models . Mod ... el ): parent = models . ForeignKey ( Parent , edit_inline = mod ... n . StackedInline ): model = Child extra = 3 class ParentAdmin ( admin . ModelAdmin ): model = Parent inline ... s = [ ChildInline ] admin . site . register ( Parent , ParentAdmin ) See InlineModelAdmin オブジェクト ...
https://man.plustar.jp/django/releases/1.0-porting-guide.html - [similar]
モデルからフォームを作成する — Django 4.0.6 ドキュメント 7871
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... need to declare extra fields or extra methods on a parent class for use in a number of forms derived from mo ... for the pub_date field. You can also subclass the parent's Meta inner class if you want to change the Meta. ... ta , if it exists, otherwise the Meta of the first parent, etc. It's possible to inherit from both Form and ... e to declaratively remove a Field inherited from a parent class by setting the name to be None on the subcla ...
https://man.plustar.jp/django/topics/forms/modelforms.html - [similar]
How to configure and use logging — Django 4.0.6 ドキュメント 7768
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... on ¶ Logger naming is hierarchical . my_app is the parent of my_app.views , which is the parent of my_app.vi ... s will propagate the records they process to their parents - a record from a logger in the my_app.views.priv ... om my_app.views.private will not be handled by the parent, but logs from my_app.views will. Configure respon ...
https://man.plustar.jp/django/howto/logging.html - [similar]
PREV 1 2 3 4 5 6 NEXT