検索

phrase: max: clip:
target: order:
Results of 11 - 20 of about 106 for save (0.033 sec.)
多対多 (many-to-many) 関係 — Django 4.0.6 ドキュメント 8075
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... lication ( title = 'The Python Journal' ) >>> p1 . save () >>> p2 = Publication ( title = 'Science News' ) ... >>> p2 . save () >>> p3 = Publication ( title = 'Science Weekly' ... ) >>> p3 . save () Create an Article : >>> a1 = Article ( headline ... 't associate it with a Publication until it's been saved: >>> a1 . publications . add ( p1 ) Traceback (mo ...
https://man.plustar.jp/django/topics/db/examples/many_to_many.html - [similar]
QuerySet API リファレンス — Django 4.0.6 ドキュメント 7703
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ut instead of annotating objects in the QuerySet , saves the expression for later reuse with other QuerySe ... inherit from the abstract model. 注釈 When calling save() for instances with deferred fields, only the loa ... ded fields will be saved. See save() for more details. only() ¶ only ( * f ... t_related() is an error as well. 注釈 When calling save() for instances with deferred fields, only the loa ...
https://man.plustar.jp/django/ref/models/querysets.html - [similar]
Django の admin サイト — Django 4.0.6 ドキュメント 7575
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... en't modified by JavaScript after a value has been saved. It's usually undesired that slugs change (which ... an't determine this address.</span>" ) ModelAdmin. save_as ¶ admin のチェンジーフォームで "新規に保存" 機能 ... を有効化するには save_as をセットしてください。 通常、オブジェクトには 3 ... "保存して編集を続ける"、"保存して 1 つ追加" です。 save_as が True の場合、"保存して 1 つ追加" が "新規に保 ...
https://man.plustar.jp/django/ref/contrib/admin/index.html - [similar]
Signals — Django 4.0.6 ドキュメント 7447
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... useful notifications: django.db.models.signals.pre_save & django.db.models.signals.post_save Sent before o ... r after a model's save() method is called. django.db.models.signals.pre_d ... example, consider the django.db.models.signals.pre_save signal sent before a model gets saved. Most of the ... time, you don't need to know when any model gets saved -- just when one specific model is saved. In thes ...
https://man.plustar.jp/django/topics/signals.html - [similar]
クエリー式 — Django 4.0.6 ドキュメント 7383
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... Tintin' ) reporter . stories_filed += 1 reporter . save () Here, we have pulled the value of reporter.stor ... lated it using familiar Python operators, and then saved the object back to the database. But instead we c ... ories_filed = F ( 'stories_filed' ) + 1 reporter . save () Although reporter.stories_filed = F('stories_fi ... nd describe the operation. To access the new value saved this way, the object must be reloaded: reporter = ...
https://man.plustar.jp/django/ref/models/expressions.html - [similar]
モデルフィールドリファレンス — Django 4.0.6 ドキュメント 7203
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... of the primary key on an existing object and then save it, a new object will be created alongside the old ... abase level and by model validation. If you try to save a model with a duplicate value in a unique field, ... go.db.IntegrityError will be raised by the model's save() method. This option is valid on all field types ... the current time zone at the time the object gets saved. This is enforced by Model.validate_unique() duri ...
https://man.plustar.jp/django/ref/models/fields.html - [similar]
GeoDjango Database API — Django 4.0.6 ドキュメント 7139
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... N(( 10 10, 10 20, 20 20, 20 15, 10 10))' ) >>> z . save () GEOSGeometry objects may also be used to save g ... z = Zipcode ( code = 77096 , poly = poly ) >>> z . save () Moreover, if the GEOSGeometry is in a different ... ipcode ( code = 78212 , poly = poly_3084 ) >>> z . save () >>> from django.db import connection >>> print ... , rast = '/path/to/raster/volcano.tif' ) >>> dem . save () GDALRaster objects may also be used to save ras ...
https://man.plustar.jp/django/ref/contrib/gis/db-api.html - [similar]
Django 2.2.26 release notes — Django 4.0.6 ドキュメント 7011
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 1-45452: Potential directory-traversal via Storage.save() ¶ Storage.save() allowed directory-traversal if ... 1-45452: Potential directory-traversal via Storage.save() 前のトピックへ Django 2.2.27 release notes 次のト ...
https://man.plustar.jp/django/releases/2.2.26.html - [similar]
Django 3.2.11 release notes — Django 4.0.6 ドキュメント 7011
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 1-45452: Potential directory-traversal via Storage.save() ¶ Storage.save() allowed directory-traversal if ... 1-45452: Potential directory-traversal via Storage.save() 前のトピックへ Django 3.2.12 release notes 次のト ...
https://man.plustar.jp/django/releases/3.2.11.html - [similar]
Django の認証方法のカスタマイズ — Django 4.0.6 ドキュメント 7011
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... is_staff = True user . is_superuser = True user . save () return user return None def get_user ( self , u ... ることはありませんが、 django.db.models.signals.post_save を活用することで関連づけしたモデルを作成、更新する ... settings from django.db.models.signals import post_save def post_save_receiver ( sender , instance , creat ... ed , ** kwargs ): pass post_save . connect ( post_save_receiver , sender = settings ...
https://man.plustar.jp/django/topics/auth/customizing.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 NEXT