... e.files.base import ContentFile f1 = ContentFile ( "esta frase está en español" ) f2 = ContentFile ( b "these are bytes" ) ImageFile クラス ¶ class ImageFile ( file_object , name = None ) [ソース] ¶ Django には画像専用の組み込みクラスがあります。 django.c ... ore.files.images.ImageFile は File のすべての属性とメソッドを継承し、さらに次のものを提供します: width [ソース] ¶ 画像の幅 (ピクセル単位)。 height [ソ ... ファイルが削除された後にモデルの save() メソッドが一度呼び出されます。 目次 File オブジェクト File クラス ContentFile クラス ImageFile クラス オブジェクトに添付されたファイルに関する追加メソッド 前のトピックへ ファイルの取り扱い 次のトピックへ ファイルストレ ... ... のトピックへ File オブジェクト 関連キーワード クラス アップロード ハンドラ File オブジェクト ストレージ 取り扱い ContentFile ImageFile 添付 メソッド FileSystemStorage InMemoryStorage Storage ビルトイン カスタマイズ クイック検索 Last update: 2026年10月08日 « ... ... 前のトピックへ Django の例外 次のトピックへ File オブジェクト 関連キーワード アップロード ハンドラ ストレージ ContentFile ImageFile 添付 FileSystemStorage InMemoryStorage Storage ビルトイン カスタマイズ クイック検索 Last update: 2026年10月09日 « previous ... ... e.files.base import ContentFile f1 = ContentFile ( "esta frase está en español" ) f2 = ContentFile ( b "these are bytes" ) ImageFile クラス ¶ class ImageFile ( file_object , name = None ) [ソース] ¶ Django には画像専用の組み込みクラスがあります。 django.c ... ore.files.images.ImageFile は File のすべての属性とメソッドを継承し、さらに次のものを提供します: width [ソース] ¶ 画像の幅 (ピクセル単位)。 height [ソ ... ファイルが削除された後にモデルの save() メソッドが一度呼び出されます。 目次 File オブジェクト File クラス ContentFile クラス ImageFile クラス オブジェクトに添付されたファイルに関する追加メソッド 前のトピックへ ファイルの取り扱い 次のトピックへ ファイルストレ ... ... ead() (Client のメソッド) headers (HttpRequest の属性) (HttpResponse の属性) height (GDALBand の属性) (GDALRaster の属性) (ImageFile の属性) height_field (ImageField の属性) help django-admin command help (BaseCommand の属性) help_text (BoundField の属性) ... plate tag ifchanged template tag IGNORABLE_404_URLS setting ImageField (django.db.models のクラス) (django.forms のクラス) ImageFile (django.core.files.images のクラス) ImmediateBackend (django.tasks.backends.immediate のクラス) import_epsg() (SpatialRefe ... ... ead() (Client のメソッド) headers (HttpRequest の属性) (HttpResponse の属性) height (GDALBand の属性) (GDALRaster の属性) (ImageFile の属性) height_field (ImageField の属性) help django-admin command help (BaseCommand の属性) help_text (BoundField の属性) ... plate tag ifchanged template tag IGNORABLE_404_URLS setting ImageField (django.db.models のクラス) (django.forms のクラス) ImageFile (django.core.files.images のクラス) ImmediateBackend (django.tasks.backends.immediate のクラス) import_epsg() (SpatialRefe ... 2026年10月08日