Results of 31 - 40 of about 106 for save (0.088 sec.)
- Django 1.5 release notes — Django 4.0.6 ドキュメント 6575
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
port for saving a subset of model's fields - Model.save() now accepts an update_fields argument, letting y ...
lds are written back to the database when you call save() . This can help in high-concurrency operations, ...
ving a subset of model's fields ¶ The method Model.save() has a new keyword argument update_fields . By us ...
ing this argument it is possible to save only a select list of model's fields. This can be ...
-
https://man.plustar.jp/django/releases/1.5.html
- [similar]
- ファイルの管理 — Django 4.0.6 ドキュメント 6575
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
s and attributes described below. 注釈 The file is saved as part of saving the model in the database, so t ...
cannot be relied on until after the model has been saved. For example, you can change the file name by set ...
os . rename ( initial_path , new_path ) >>> car . save () >>> car . photo . path '/media/cars/chevy_ii.jp ...
g' >>> car . photo . path == new_path True To save an existing file on disk to a FileField : >>> from ...
-
https://man.plustar.jp/django/topics/files.html
- [similar]
- Django の概要 — Django 4.0.6 ドキュメント 6511
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
r. >>> r = Reporter ( full_name = 'John Smith' ) # Save the object into the database. You have to call sav ...
e() explicitly. >>> r . save () # Now it has an ID. >>> r . id 1 # Now the new ...
' , ... content = 'Yeah.' , reporter = r ) >>> a . save () # Now the article is in the database. >>> Artic ...
e an object by altering its attributes and calling save(). >>> r . full_name = 'Billy Goat' >>> r . save ( ...
-
https://man.plustar.jp/django/intro/overview.html
- [similar]
- Django 1.4 documentation 6447
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
>>> r = Reporter ( full_name = 'John Smith' ) .. # Save the object into the database. You have to call sav ...
オブジェクトをデータベースに保存します。 # 明示的に save() を呼ばねばなりません。 >>> r . save () .. # Now ...
... content = 'Yeah.' , reporter_id = 1 ) >>> a . save () .. # Now the article is in the database. # これ ...
e an object by altering its attributes and calling save(). # 属性値を変更して save() すればオブジェクトを変 ...
-
https://man.plustar.jp/django/contents.html
- [similar]
- 索引 — Django 4.0.6 ドキュメント 6447
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
性) _open() (django.core.files.storage モジュール) _save() (django.core.files.storage モジュール) _state (M ...
のメソッド) clean_fields() (Model のメソッド) clean_savepoints() (django.db.transaction モジュール) clean_u ...
grate (組み込み変数) django.db.models.signals.post_save (組み込み変数) django.db.models.signals.pre_delete ...
igrate (組み込み変数) django.db.models.signals.pre_save (組み込み変数) django.db.transaction モジュール dj ...
-
https://man.plustar.jp/django/genindex.html
- [similar]
- はじめての Django アプリ作成、その2 — Django 4.0.6 ドキュメント 6447
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
= "What's new?" , pub_date = timezone . now ()) # Save the object into the database. You have to call sav ...
e() explicitly. >>> q . save () # Now it has an ID. >>> q . id 1 # Access model ...
ge values by changing the attributes, then calling save(). >>> q . question_text = "What's up?" >>> q . sa ...
部分には操作ボタンがいくつか表示されています: 保存 (Save) – 変更を保存して、このモデルのチェンジリストのペー ...
-
https://man.plustar.jp/django/intro/tutorial02.html
- [similar]
- Porting your apps from Django 0.96 to 1.0 — Django 4.0.6 ドキュメント 6447
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
file.get_content_size() myfile.content.size myfile.save_content_file() myfile.content.save() myfile.get_co ...
ts. フィクスチャー ¶ Loading a row no longer calls save() ¶ Previously, loading a row automatically ran th ...
e model's save() method. This is no longer the case, so any field ...
example: timestamps) that were auto-populated by a save() now need explicit values in any fixture. 設定 ¶ ...
-
https://man.plustar.jp/django/releases/1.0-porting-guide.html
- [similar]
- Django 3.0 リリースノート — Django 4.0.6 ドキュメント 6447
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
failure. 3.0 における後方互換性のない変更 ¶ Model.save() when providing a default for the primary key ¶ M ...
odel.save() no longer attempts to find a row when saving a n ...
ngle INSERT query. In older Django versions, Model.save() performed either an INSERT or an UPDATE based on ...
er or not the row exists. This makes calling Model.save() while providing a default primary key value equi ...
-
https://man.plustar.jp/django/releases/3.0.html
- [similar]
- Django 0.95 リリースノート — Django 4.0.6 ドキュメント 6396
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
it. It's now more explicit and natural to override save() and delete() methods on models, rather than need ...
ing to hook into the pre_save() and post_save() method hooks. Individual pieces ...
personalized help, the django-users mailing list is a very active list, with more than 2,000 subscribers ...
-
https://man.plustar.jp/django/releases/0.95.html
- [similar]
- Django 1.8.4 リリースノート — Django 4.0.6 ドキュメント 6396
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
eate empty session records, including when SESSION_SAVE_EVERY_REQUEST is active. Bugfixes ¶ Added the abil ...
unning the migrate command ( #25231 ). Moved the unsaved model instance assignment data loss check to Mode ...
l.save() to allow easier usage of in-memory models ( #251 ...
-
https://man.plustar.jp/django/releases/1.8.4.html
- [similar]