検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 33 for FileField (0.025 sec.)
Django 1.2.5 release notes — Django 4.0.6 ドキュメント 12465
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ry is different for some older versions of Django. FileField no longer deletes files ¶ In earlier Django versio ... ns, when a model instance containing a FileField was deleted, FileField took it upon itself to also ... models referencing the same file. In Django 1.2.5, FileField will never delete files from the backend storage. ... ompatible changes CSRF exception for AJAX requests FileField no longer deletes files Use of custom SQL to load ...
https://man.plustar.jp/django/releases/1.2.5.html - [similar]
ファイルのアップロード — Django 4.0.6 ドキュメント 11583
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... のアップロードの基本 ¶ Consider a form containing a FileField : forms.py ¶ from django import forms class Upload ... rms . CharField ( max_length = 50 ) file = forms . FileField () このフォームをハンドリングするビューは、ファイル ... ナリには、キーと、それぞれのキーに対応するフォームの FileField (または ImageField または他の FileField のサブクラ ... data if the request method was POST , at least one file field was actually posted, and the <form> that posted t ...
https://man.plustar.jp/django/topics/http/file-uploads.html - [similar]
モデルフィールドリファレンス — Django 4.0.6 ドキュメント 11438
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ue is a valid email address using EmailValidator . FileField ¶ class FileField ( upload_to = '' , storage = Non ... an error if used. 2 つの省略可能な引数があります: FileField. upload_to ¶ この属性は、アップロードディレクトリと ... e uploaded to MEDIA_ROOT/uploads upload = models . FileField ( upload_to = 'uploads/' ) # or... # file will be ... to MEDIA_ROOT/uploads/2015/01/30 upload = models . FileField ( upload_to = 'uploads/%Y/%m/ %d /' ) If you are u ...
https://man.plustar.jp/django/ref/models/fields.html - [similar]
ファイルの管理 — Django 4.0.6 ドキュメント 11294
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 説明します。 Using files in models ¶ When you use a FileField or ImageField , Django provides a set of APIs you ... ImageField ( upload_to = 'cars' ) specs = models . FileField ( upload_to = 'specs' ) Any Car instance will have ... ew_path True To save an existing file on disk to a FileField : >>> from pathlib import Path >>> from django.cor ... osing files is especially important when accessing file fields in a loop over a large number of objects. If fil ...
https://man.plustar.jp/django/topics/files.html - [similar]
Django 1.3 release notes — Django 4.0.6 ドキュメント 10989
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... jango versions, when a model instance containing a FileField was deleted, FileField took it upon itself to also ... e file. In Django 1.3, when a model is deleted the FileField 's delete() method won't be called. If you need cl ... ender_value = True )) Clearable default widget for FileField ¶ Django 1.3 now includes a ClearableFileInput for ... ided no means for clearing an existing file from a FileField . ClearableFileInput is now the default widget for ...
https://man.plustar.jp/django/releases/1.3.html - [similar]
How to create custom model fields — Django 4.0.6 ドキュメント 8775
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ython object, you can save yourself a lot of work. FileField サブクラスを書く ¶ In addition to the above method ... account. The majority of the mechanics provided by FileField , such as controlling database storage and retriev ... tion . Once a subclass of File is created, the new FileField subclass must be told to use it. To do so, assign ... ubclass to the special attr_class attribute of the FileField subclass. A few suggestions ¶ 上記の詳細に加えて、 ...
https://man.plustar.jp/django/howto/custom-model-fields.html - [similar]
FAQ: Django を使う — Django 4.0.6 ドキュメント 8342
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... やファイルのフィールドはどう使うのですか? ¶ モデルで FileField や ImageField を使うには、いくつかのステップを踏む ... ritable by the web server's user account. モデルに FileField や ImageField を追加し、 upload_to オプションを定義 ...
https://man.plustar.jp/django/faq/usage.html - [similar]
Django 2.2.23 release notes — Django 4.0.6 ドキュメント 8182
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ¶ Fixed a regression in Django 2.2.21 where saving FileField would raise a SuspiciousFileOperation even when a ...
https://man.plustar.jp/django/releases/2.2.23.html - [similar]
Django 3.1.11 release notes — Django 4.0.6 ドキュメント 8182
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ¶ Fixed a regression in Django 3.1.9 where saving FileField would raise a SuspiciousFileOperation even when a ...
https://man.plustar.jp/django/releases/3.1.11.html - [similar]
Django 3.2.3 release notes — Django 4.0.6 ドキュメント 8182
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ). Fixed a regression in Django 3.2.1 where saving FileField would raise a SuspiciousFileOperation even when a ...
https://man.plustar.jp/django/releases/3.2.3.html - [similar]
PREV 1 2 3 4 NEXT