Results of 21 - 30 of about 106 for save (0.050 sec.)
- モデル — Django 4.0.6 ドキュメント 7011
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ィールドはクラスの属性として定義されます。 clean 、 save あるいは delete のようなフィールド名は、 models AP ...
e = "Fred Flintstone" , shirt_size = "L" ) >>> p . save () >>> p . shirt_size 'L' >>> p . get_shirt_size_d ...
= 'Apple' ) >>> fruit . name = 'Pear' >>> fruit . save () >>> Fruit . objects . values_list ( 'name' , fl ...
invite_reason = "Needed a new drummer." ) >>> m1 . save () >>> beatles . members . all () <QuerySet [<Pers ...
-
https://man.plustar.jp/django/topics/db/models.html
- [similar]
- How to create PDF files — Django 4.0.6 ドキュメント 6947
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
bject cleanly, and we're done. p . showPage () p . save () # FileResponse sets the Content-Disposition hea ...
der so that browsers # present the option to save the file. buffer . seek ( 0 ) return FileResponse ...
ename parameter. It'll be used by browsers in the "Save as..." dialog. You can hook into the ReportLab API ...
r . Finally, it's important to call showPage() and save() on the PDF file. 注釈 ReportLab is not thread-sa ...
-
https://man.plustar.jp/django/howto/outputting-pdf.html
- [similar]
- Django 1.9.2 リリースノート — Django 4.0.6 ドキュメント 6947
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
rmission can create objects for ModelAdmin 's with save_as=True ¶ If a ModelAdmin uses save_as=True (not t ...
admin provides an option when editing objects to "Save as new". A regression in Django 1.9 prevented that ...
rmission can create objects for ModelAdmin 's with save_as=True Backwards incompatible change: .py-tpl fil ...
-
https://man.plustar.jp/django/releases/1.9.2.html
- [similar]
- 多対一 (many-to-one) 関係 — Django 4.0.6 ドキュメント 6883
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
e = 'Smith' , email = 'john@example.com' ) >>> r . save () >>> r2 = Reporter ( first_name = 'Paul' , last_ ...
= 'Jones' , email = 'paul@example.com' ) >>> r2 . save () Create an Article: >>> from datetime import dat ...
e = date ( 2005 , 7 , 27 ), reporter = r ) >>> a . save () >>> a . reporter . id 1 >>> a . reporter <Repor ...
ter: John Smith> Note that you must save an object before it can be assigned to a foreign k ...
-
https://man.plustar.jp/django/topics/db/examples/many_to_one.html
- [similar]
- Django 4.0.1 release notes — Django 4.0.6 ドキュメント 6831
- " + 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() Bugfixes 前のトピックへ Django 4.0.2 release not ...
-
https://man.plustar.jp/django/releases/4.0.1.html
- [similar]
- Model Meta options — Django 4.0.6 ドキュメント 6767
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
e model: db_table = 'music_album' Table names ¶ To save you time, Django automatically derives the name of ...
it, the model will not be synchronized. select_on_save ¶ Options. select_on_save ¶ Determines if Django w ...
ill use the pre-1.6 django.db.models.Model.save() algorithm. The old algorithm uses SELECT to dete ...
The default is False . See django.db.models.Model.save() for more about the old and new saving algorithm. ...
-
https://man.plustar.jp/django/ref/models/options.html
- [similar]
- Django 2.1.15 リリースノート — Django 4.0.6 ドキュメント 6767
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
parent model, but would trigger the parent model's save() method, and cause pre and post-save signal handl ...
to edit a model should not be able to trigger its save-related signals. To resolve this issue, the permis ...
-
https://man.plustar.jp/django/releases/2.1.15.html
- [similar]
- Django 2.2.8 リリースノート — Django 4.0.6 ドキュメント 6767
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
parent model, but would trigger the parent model's save() method, and cause pre and post-save signal handl ...
to edit a model should not be able to trigger its save-related signals. To resolve this issue, the permis ...
-
https://man.plustar.jp/django/releases/2.2.8.html
- [similar]
- Django オブジェクトのシリアル化 — Django 4.0.6 ドキュメント 6767
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
d by a model, the deserializer will not be able to save deserialized instances. 継承されたモデル ¶ If you ...
lizedObject instances that wrap a created -- but unsaved -- object and any associated relationship data. D ...
eserializedObject.save() を呼ぶと、オブジェクトはデータベースに保存されま ...
a doesn't exist or is null, a new instance will be saved to the database. This ensures that deserializing ...
-
https://man.plustar.jp/django/topics/serialization.html
- [similar]
- セッションの使いかた — Django 4.0.6 ドキュメント 6639
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
= comments . Comment ( comment = new_comment ) c . save () request . session [ 'has_commented' ] = True re ...
rom the session store and with session_key=None ). save() is designed to save an existing session (i.e. on ...
e loaded from the session store). Calling save() on a new session may also work but has a small c ...
that collides with an existing one. create() calls save() and loops until an unused session_key is generat ...
-
https://man.plustar.jp/django/topics/http/sessions.html
- [similar]