per page, with , order by , clip by
Results of 1 - 10 of about 80 for FileField (0.003 sec.)
Django 1.2.5 リリースノート — Django 6.1 ドキュメント 10437
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.2.5 リリースノート ¶ Django 1.2.5 へようこそ! This is the fifth "bugfix" release in the Django 1.2 series, improving the stability and perf ... the documentation for your version of Django, as the exact code necessary is different for some older versions of Django. FileField no longer deletes files ¶ In earlier Django versions, when a model instance containing a FileField was deleted, FileField ... s scenarios, including rolled-back transactions and fields on different models referencing the same file. In Django 1.2.5, FileField will never delete files from the backend storage. If you need cleanup of orphaned files, you'll need to handle it yourself ... his function has changed. 目次 Django 1.2.5 リリースノート Backwards incompatible changes CSRF exception for AJAX requests FileField no longer deletes files Use of custom SQL to load initial data in tests ModelAdmin.lookup_allowed signature changed 前のト ...
https://man.mtool.work/django/6.1/releases/1.2.5.html
Django 1.2.5 リリースノート — Django 6.1 ドキュメント 10328
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.2.5 リリースノート ¶ Django 1.2.5 へようこそ! This is the fifth "bugfix" release in the Django 1.2 series, improving the stability and perf ... the documentation for your version of Django, as the exact code necessary is different for some older versions of Django. FileField no longer deletes files ¶ In earlier Django versions, when a model instance containing a FileField was deleted, FileField ... s scenarios, including rolled-back transactions and fields on different models referencing the same file. In Django 1.2.5, FileField will never delete files from the backend storage. If you need cleanup of orphaned files, you'll need to handle it yourself ... his function has changed. 目次 Django 1.2.5 リリースノート Backwards incompatible changes CSRF exception for AJAX requests FileField no longer deletes files Use of custom SQL to load initial data in tests ModelAdmin.lookup_allowed signature changed 前のト ...
https://man.mtool.work/django/6.1/releases/1.2.5.html
ファイルのアップロード — Django 6.1 ドキュメント 10328
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » ファイルのアップロード ¶ Django がファイルアップロードを扱うとき、ファイルデータは request.FILES に格納されます ( request についての詳細は リクエスト ... !緩和策の詳細は、 ユーザーがアップロードしたコンテンツ のセキュリティガイドをご覧ください。 ファイルのアップロードの基本 ¶ FileField を持つフォームを考えてみましょう: forms.py ¶ from django import forms class UploadFileForm ( forms . Form ): title = forms ... . CharField ( max_length = 50 ) file = forms . FileField () このフォームをハンドリングするビューは、ファイルのデータを request.FILES というディクショナリの中に受け取ります。このデ ... ィクショナリには、キーと、それぞれのキーに対応するフォームの FileField (または ImageField または他の FileField のサブクラス) が格納されています。そのため、上のフォームから送信されたデータには、 ...
https://man.mtool.work/django/6.1/topics/http/file-uploads.html
ファイルのアップロード — Django 6.1 ドキュメント 10204
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » ファイルのアップロード ¶ Django がファイルアップロードを扱うとき、ファイルデータは request.FILES に格納されます ( request についての詳細は リクエスト ... !緩和策の詳細は、 ユーザーがアップロードしたコンテンツ のセキュリティガイドをご覧ください。 ファイルのアップロードの基本 ¶ FileField を持つフォームを考えてみましょう: forms.py ¶ from django import forms class UploadFileForm ( forms . Form ): title = forms ... . CharField ( max_length = 50 ) file = forms . FileField () このフォームをハンドリングするビューは、ファイルのデータを request.FILES というディクショナリの中に受け取ります。このデ ... ィクショナリには、キーと、それぞれのキーに対応するフォームの FileField (または ImageField または他の FileField のサブクラス) が格納されています。そのため、上のフォームから送信されたデータには、 ...
https://man.mtool.work/django/6.1/topics/http/file-uploads.html
ファイルの管理 — Django 6.1 ドキュメント 10204
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » ファイルの管理 ¶ この文書では、ユーザがアップロードしたようなファイルに対する Django のファイルアクセス API について説明します。下位レベルの API は十 ... を提供しています。このドキュメントの後半では、それらのストレージシステムの働きについて説明します。 モデルでファイルを使う ¶ FileField や ImageField を使うと、 Django はそのファイルを扱うために使える API を提供します。 次のモデルを考えてみましょう。 ImageFi ... . DecimalField ( max_digits = 5 , decimal_places = 2 ) photo = models . ImageField ( upload_to = "cars" ) specs = models . FileField ( upload_to = "specs" ) どの Car インスタンスにも photo 属性があり、それを使って添付写真の詳細を見ることができます: >>> ca ... () >>> car . photo . path '/media/cars/chevy_ii.jpg' >>> car . photo . path == new_path True ディスク上の既存のファイルを FileField に保存します: >>> from pathlib import Path >>> from django.core.files import File >>> path = Path ( "/some/external/specs. ...
https://man.mtool.work/django/6.1/topics/files.html
ファイルの管理 — Django 6.1 ドキュメント 10095
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » ファイルの管理 ¶ この文書では、ユーザがアップロードしたようなファイルに対する Django のファイルアクセス API について説明します。下位レベルの API は十 ... を提供しています。このドキュメントの後半では、それらのストレージシステムの働きについて説明します。 モデルでファイルを使う ¶ FileField や ImageField を使うと、 Django はそのファイルを扱うために使える API を提供します。 次のモデルを考えてみましょう。 ImageFi ... . DecimalField ( max_digits = 5 , decimal_places = 2 ) photo = models . ImageField ( upload_to = "cars" ) specs = models . FileField ( upload_to = "specs" ) どの Car インスタンスにも photo 属性があり、それを使って添付写真の詳細を見ることができます: >>> ca ... () >>> car . photo . path '/media/cars/chevy_ii.jpg' >>> car . photo . path == new_path True ディスク上の既存のファイルを FileField に保存します: >>> from pathlib import Path >>> from django.core.files import File >>> path = Path ( "/some/external/specs. ...
https://man.mtool.work/django/6.1/topics/files.html
Django 1.3 リリースノート — Django 6.1 ドキュメント 9026
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.3 リリースノート ¶ March 23, 2011 Django 1.3 へようこそ! Nearly a year in the making, Django 1.3 includes quite a few new features and plen ... rarchy . Deleting a model doesn't delete associated files ¶ In earlier Django versions, when a model instance containing a FileField was deleted, FileField took it upon itself to also delete the file from the backend storage. This opened the door to sever ... led-back transactions and fields on different models referencing the same file. In Django 1.3, when a model is deleted the FileField 's delete() method won't be called. If you need cleanup of orphaned files, you'll need to handle it yourself (for instance ... 100 ) password = forms . CharField ( widget = forms . PasswordInput ( render_value = True )) Clearable default widget for FileField ¶ Django 1.3 now includes a ClearableFileInput form widget in addition to FileInput . ClearableFileInput renders with a ch ...
https://man.mtool.work/django/6.1/releases/1.3.html
Django 1.3 リリースノート — Django 6.1 ドキュメント 9026
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.3 リリースノート ¶ March 23, 2011 Django 1.3 へようこそ! Nearly a year in the making, Django 1.3 includes quite a few new features and plen ... rarchy . Deleting a model doesn't delete associated files ¶ In earlier Django versions, when a model instance containing a FileField was deleted, FileField took it upon itself to also delete the file from the backend storage. This opened the door to sever ... led-back transactions and fields on different models referencing the same file. In Django 1.3, when a model is deleted the FileField 's delete() method won't be called. If you need cleanup of orphaned files, you'll need to handle it yourself (for instance ... 100 ) password = forms . CharField ( widget = forms . PasswordInput ( render_value = True )) Clearable default widget for FileField ¶ Django 1.3 now includes a ClearableFileInput form widget in addition to FileInput . ClearableFileInput renders with a ch ...
https://man.mtool.work/django/6.1/releases/1.3.html
Django 2.2.23 リリースノート — Django 6.1 ドキュメント 8670
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 2.2.23 リリースノート ¶ May 13, 2021 Django 2.2.23 fixes a regression in 2.2.21. バグ修正 ¶ Fixed a regression in Django 2.2.21 where saving ... ースノート 次のトピックへ Django 2.2.22 リリースノート 関連キーワード regression リリースノート fixes バグ 修正 Fixed saving FileField raise SuspiciousFileOperation even custom upload valid path クイック検索 Last update: 2026年10月09日 « previous | up | nex ...
https://man.mtool.work/django/6.1/releases/2.2.23.html
Django 3.1.11 リリースノート — Django 6.1 ドキュメント 8670
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 3.1.11 リリースノート ¶ May 13, 2021 Django 3.1.11 fixes a regression in 3.1.9. バグ修正 ¶ Fixed a regression in Django 3.1.9 where saving FileField ... ースノート 次のトピックへ Django 3.1.10 リリースノート 関連キーワード regression リリースノート fixes バグ 修正 Fixed saving FileField raise SuspiciousFileOperation even custom upload valid path クイック検索 Last update: 2026年10月09日 « previous | up | nex ...
https://man.mtool.work/django/6.1/releases/3.1.11.html
PREV 1 2 3 4 5 6 7 8 NEXT