Results of 41 - 50 of about 106 for save (0.092 sec.)
- Django 1.8 リリースノート — Django 4.0.6 ドキュメント 6268
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
lization at the class level using transactions and savepoints. Database backends which do not support tran ...
トレージ ¶ Storage.get_available_name() and Storage.save() now take a max_length argument to implement stor ...
dler will prevent the whole operation. Assigning unsaved objects to relations raises an error ¶ 注釈 To mo ...
jango 1.8.4 and replaced with a check during model.save() . For example: >>> book = Book . objects . creat ...
-
https://man.plustar.jp/django/releases/1.8.html
- [similar]
- django.core.signing — Django 4.0.6 ドキュメント 6203
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
y compress the JSON prior to base64 encoding it to save space, using the compress=True argument. This chec ...
the default), check if compressing using zlib can save some space. Prepend a '.' to signify compression. ...
the default), check if compressing using zlib can save some space. Prepend a '.' to signify compression. ...
-
https://man.plustar.jp/django/_modules/django/core/signing.html
- [similar]
- contenttypes フレームワーク — Django 4.0.6 ドキュメント 6203
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
( content_object = guido , tag = 'bdfl' ) >>> t . save () >>> t . content_object <User: Guido> If the rel ...
( url = 'https://www.djangoproject.com/' ) >>> b . save () >>> t1 = TaggedItem ( content_object = b , tag ...
= 'django' ) >>> t1 . save () >>> t2 = TaggedItem ( content_object = b , tag ...
= 'python' ) >>> t2 . save () >>> b . tags . all () <QuerySet [<TaggedItem: d ...
-
https://man.plustar.jp/django/ref/contrib/contenttypes.html
- [similar]
- How to write a custom storage class — Django 4.0.6 ドキュメント 6139
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
OPTIONS ... あなたのストレージクラスは _open() と _save() メソッドと、あなたのストレージクラスに適した他の ...
File オブジェクトを戻り値としなければなりません。 _save ( name , content ) ¶ Storage.save() から呼び出され ...
-
https://man.plustar.jp/django/howto/custom-file-storage.html
- [similar]
- The sitemap framework — Django 4.0.6 ドキュメント 6139
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
useful way to call ping_google() is from a model's save() method: from django.contrib.sitemaps import ping ...
_google class Entry ( models . Model ): # ... def save ( self , force_insert = False , force_update = Fal ...
se ): super () . save ( force_insert , force_update ) try : ping_google ...
introduce that network overhead each time you call save() . Pinging Google via manage.py ¶ django-admin pi ...
-
https://man.plustar.jp/django/ref/contrib/sitemaps.html
- [similar]
- Django 1.6 release notes — Django 4.0.6 ドキュメント 6139
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
aware aggregation on a DateTimeField . Support for savepoints in SQLite ¶ Django 1.6 adds support for save ...
mpatible with the current version of Django. Model.save() algorithm changed ¶ The Model.save() method now ...
row while the old algorithm needed two. See Model.save() for more details. In some rare cases the databas ...
possible to set django.db.models.Options.select_on_save flag to force saving to use the old algorithm. マイ ...
-
https://man.plustar.jp/django/releases/1.6.html
- [similar]
- ファイルのアップロード — Django 4.0.6 ドキュメント 6139
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
になります。この場合、ファイルオブジェクトは、 form.save() を呼び出すだけで、対応する FileField の upload_t ...
request . FILES ) if form . is_valid (): # file is saved form . save () return HttpResponseRedirect ( '/su ...
ile_field = request . FILES [ 'file' ]) instance . save () return HttpResponseRedirect ( '/success/url/' ) ...
FileField ( file_field = content_file ) instance . save () 複数のファイルをアップロードする ¶ 1 つのフォー ...
-
https://man.plustar.jp/django/topics/http/file-uploads.html
- [similar]
- データベースアクセスの最適化 — Django 4.0.6 ドキュメント 6075
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
n retrieve a load of objects, set some values, and save them individual, use a bulk SQL UPDATE statement, ...
er, that these bulk update methods cannot call the save() or delete() methods of individual instances, whi ...
. headline = 'This is not a test' entries [ 0 ] . save () entries [ 1 ] . headline = 'This is no longer a ...
test' entries [ 1 ] . save () Note that there are a number of caveats to this ...
-
https://man.plustar.jp/django/topics/db/optimization.html
- [similar]
- How to create custom model fields — Django 4.0.6 ドキュメント 6011
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
south , west ) example . hand = new_hand example . save () 他のPythonクラスと同様に、モデルの hand 属性に割 ...
to. Can you subclass an existing Django field and save yourself some work? If not, you should subclass th ...
custom field needs a special conversion when being saved that is not the same as the conversion used for n ...
mal query parameters, you can override get_db_prep_save() . 保存する前に前もって値を加工する場合 ¶ If you ...
-
https://man.plustar.jp/django/howto/custom-model-fields.html
- [similar]
- Constraints reference — Django 4.0.6 ドキュメント 6011
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
s. Rather you'll get a database integrity error on save() . UniqueConstraint s without a condition (i.e. n ...
stage validation. In addition to IntegrityError on save() , ValidationError is also raised during model va ...
-
https://man.plustar.jp/django/ref/models/constraints.html
- [similar]