per page, with , order by , clip by
Results of 1 - 10 of about 36 for image (0.022 sec.)
フォーム フィールド — Django 6.1 ドキュメント 12409
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » フォーム フィールド ¶ class Field [ソース] ¶ Form クラスを作成時の一番重要な部分は、form のフィールド (field) の定義です。各フィールドにはカスタムの ... h' に設定されている場合にだけ使用できます。 max_length ¶ デフォルトは 39 で、 CharField に対する場合と同様の動作をします。 ImageField ¶ class ImageField ( ** kwargs ) [ソース] ¶ デフォルトのウィジェット: ClearableFileInput 空の値: None ファイルコンテン ... 拡張子が Pillow でサポートされているかを検証します。 エラーメッセージのキー: required , invalid , missing , empty , invalid_image ImageField を使用するには、使用する画像形式に対応した pillow がインストールされている必要があります。画像をアップロードした ... 際に corrupt image エラーが発生した場合、それは通常 Pillow がその形式を理解していないことを意味します。これを修正するには、適切なライブラリを ...
https://man.mtool.work/django/6.1/ref/forms/fields.html
フォーム フィールド — Django 6.1 ドキュメント 12409
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » フォーム フィールド ¶ class Field [ソース] ¶ Form クラスを作成時の一番重要な部分は、form のフィールド (field) の定義です。各フィールドにはカスタムの ... h' に設定されている場合にだけ使用できます。 max_length ¶ デフォルトは 39 で、 CharField に対する場合と同様の動作をします。 ImageField ¶ class ImageField ( ** kwargs ) [ソース] ¶ デフォルトのウィジェット: ClearableFileInput 空の値: None ファイルコンテン ... 拡張子が Pillow でサポートされているかを検証します。 エラーメッセージのキー: required , invalid , missing , empty , invalid_image ImageField を使用するには、使用する画像形式に対応した pillow がインストールされている必要があります。画像をアップロードした ... 際に corrupt image エラーが発生した場合、それは通常 Pillow がその形式を理解していないことを意味します。これを修正するには、適切なライブラリを ...
https://man.mtool.work/django/6.1/ref/forms/fields.html
ファイルの管理 — Django 6.1 ドキュメント 11664
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » ファイルの管理 ¶ この文書では、ユーザがアップロードしたようなファイルに対する Django のファイルアクセス API について説明します。下位レベルの API は十 ... ます。このドキュメントの後半では、それらのストレージシステムの働きについて説明します。 モデルでファイルを使う ¶ FileField や ImageField を使うと、 Django はそのファイルを扱うために使える API を提供します。 次のモデルを考えてみましょう。 ImageField を使っ ... ls . CharField ( max_length = 255 ) price = models . DecimalField ( max_digits = 5 , decimal_places = 2 ) photo = models . ImageField ( upload_to = "cars" ) specs = models . FileField ( upload_to = "specs" ) どの Car インスタンスにも photo 属性があり、 ... それを使って添付写真の詳細を見ることができます: >>> car = Car . objects . get ( name = "57 Chevy" ) >>> car . photo <ImageFieldFile: cars/chevy.jpg> >>> car . photo . name 'cars/chevy.jpg' >>> car . photo . path '/media/cars/chevy.jpg' >>> car . ...
https://man.mtool.work/django/6.1/topics/files.html
ファイルの管理 — Django 6.1 ドキュメント 10919
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » ファイルの管理 ¶ この文書では、ユーザがアップロードしたようなファイルに対する Django のファイルアクセス API について説明します。下位レベルの API は十 ... ます。このドキュメントの後半では、それらのストレージシステムの働きについて説明します。 モデルでファイルを使う ¶ FileField や ImageField を使うと、 Django はそのファイルを扱うために使える API を提供します。 次のモデルを考えてみましょう。 ImageField を使っ ... ls . CharField ( max_length = 255 ) price = models . DecimalField ( max_digits = 5 , decimal_places = 2 ) photo = models . ImageField ( upload_to = "cars" ) specs = models . FileField ( upload_to = "specs" ) どの Car インスタンスにも photo 属性があり、 ... それを使って添付写真の詳細を見ることができます: >>> car = Car . objects . get ( name = "57 Chevy" ) >>> car . photo <ImageFieldFile: cars/chevy.jpg> >>> car . photo . name 'cars/chevy.jpg' >>> car . photo . path '/media/cars/chevy.jpg' >>> car . ...
https://man.mtool.work/django/6.1/topics/files.html
メールを送信する — Django 6.1 ドキュメント 9731
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » メールを送信する ¶ Django provides wrappers for Python's email and smtplib modules to simplify composing and sending email. Django's email framework ... e MIME content type will be guessed from the filename of the attachment. 例: message . attach ( "design.png" , img_data , "image/png" ) If you specify a mimetype of message/rfc822 , content can be a django.core.mail.EmailMessage or Python's email.mess ... a single Python MIMEPart object. This will be attached directly to the resulting message. For example, to attach an inline image with a Content-ID : import email.utils from email.message import MIMEPart from django.core.mail import EmailMultiAlternati ... ves message = EmailMultiAlternatives ( ... ) image_data_bytes = ... # Load image as bytes # Create a random Content-ID, including angle brackets cid = email . utils . make_m ...
https://man.mtool.work/django/6.1/topics/email.html
メールを送信する — Django 6.1 ドキュメント 9731
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » メールを送信する ¶ Django provides wrappers for Python's email and smtplib modules to simplify composing and sending email. Django's email framework ... e MIME content type will be guessed from the filename of the attachment. 例: message . attach ( "design.png" , img_data , "image/png" ) If you specify a mimetype of message/rfc822 , content can be a django.core.mail.EmailMessage or Python's email.mess ... a single Python MIMEPart object. This will be attached directly to the resulting message. For example, to attach an inline image with a Content-ID : import email.utils from email.message import MIMEPart from django.core.mail import EmailMultiAlternati ... ves message = EmailMultiAlternatives ( ... ) image_data_bytes = ... # Load image as bytes # Create a random Content-ID, including angle brackets cid = email . utils . make_m ...
https://man.mtool.work/django/6.1/topics/email.html
バリデータ (Validator) — Django 6.1 ドキュメント 8685
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » バリデータ (Validator) ¶ バリデータを記述する ¶ バリデータ (validator) は呼び出し可能なオブジェクトで、値を受け取り、ある基準を満たしていない場合に ... ァイル拡張子の検証に依存しないでください。ファイル名は、どんなデータを含んでいても、どんな拡張子にも変更できます。 validate_image_file_extension ¶ validate_image_file_extension [ソース] ¶ Uses Pillow to ensure that value.name ( value is a File ) has a ... valid image extension . ProhibitNullCharactersValidator ¶ class ProhibitNullCharactersValidator ( message = None , code = None ) [ソー ... MaxValueValidator MinValueValidator MaxLengthValidator MinLengthValidator DecimalValidator FileExtensionValidator validate_image_file_extension ProhibitNullCharactersValidator StepValueValidator 前のトピックへ Django ユーティリティ ( django.utils ) 次 ...
https://man.mtool.work/django/6.1/ref/validators.html
バリデータ (Validator) — Django 6.1 ドキュメント 8685
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » バリデータ (Validator) ¶ バリデータを記述する ¶ バリデータ (validator) は呼び出し可能なオブジェクトで、値を受け取り、ある基準を満たしていない場合に ... ァイル拡張子の検証に依存しないでください。ファイル名は、どんなデータを含んでいても、どんな拡張子にも変更できます。 validate_image_file_extension ¶ validate_image_file_extension [ソース] ¶ Uses Pillow to ensure that value.name ( value is a File ) has a ... valid image extension . ProhibitNullCharactersValidator ¶ class ProhibitNullCharactersValidator ( message = None , code = None ) [ソー ... MaxValueValidator MinValueValidator MaxLengthValidator MinLengthValidator DecimalValidator FileExtensionValidator validate_image_file_extension ProhibitNullCharactersValidator StepValueValidator 前のトピックへ Django ユーティリティ ( django.utils ) 次 ...
https://man.mtool.work/django/6.1/ref/validators.html
Django 1.8 リリースノート — Django 6.1 ドキュメント 7940
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.8 リリースノート ¶ April 1, 2015 Django 1.8 へようこそ! このリリースノートでは、 バージョン 1.8 の新機能 と、Django 1.7 以前からアップグレー ... alization commands are now automatically run by migrate . The GDAL interface now supports retrieving properties of raster (image) data file . Compatibility shims for SpatialRefSys and GeometryColumns changed in Django 1.2 have been removed. All GDAL-r ... ow accepts an empty_label argument, which will override the top list choice label when DateField is not required. After an ImageField has been cleaned and validated, the UploadedFile object will have an additional image attribute containing the Pillow ... Image instance used to check if the file was a valid image. It will also update UploadedFile.content_type with the image's conte ...
https://man.mtool.work/django/6.1/releases/1.8.html
Django 1.8 リリースノート — Django 6.1 ドキュメント 7940
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.8 リリースノート ¶ April 1, 2015 Django 1.8 へようこそ! このリリースノートでは、 バージョン 1.8 の新機能 と、Django 1.7 以前からアップグレー ... alization commands are now automatically run by migrate . The GDAL interface now supports retrieving properties of raster (image) data file . Compatibility shims for SpatialRefSys and GeometryColumns changed in Django 1.2 have been removed. All GDAL-r ... ow accepts an empty_label argument, which will override the top list choice label when DateField is not required. After an ImageField has been cleaned and validated, the UploadedFile object will have an additional image attribute containing the Pillow ... Image instance used to check if the file was a valid image. It will also update UploadedFile.content_type with the image's conte ...
https://man.mtool.work/django/6.1/releases/1.8.html
PREV 1 2 3 4 NEXT