Results of 1 - 8 of about 8 for deconstructible (0.003 sec.)
- カスタムのストレージクラスを書く — Django 6.1 ドキュメント 12923
- Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » カスタムのストレージクラスを書く ¶ たとえばリモートシステム上にファイルを保存する場合、カスタムストレージクラスを定義することで、カスタムファイルスト
... クラスがローカルファイルストレージを提供する場合は、 path() メソッドをオーバーライドする必要があります。 ストレージクラスは deconstructible でなければならないので、マイグレーションのフィールドで使われたときにそれはシリアライズすることができます。フィールドがそれ ... 自身 serializable である引数を持つ限り、これのために django.utils.deconstruct.deconstructible クラスデコレータを使うことができます (それが FileSystemStorage で Django が使うものです)。 デフォルトにおいて、以下に示すメ ... es バックエンド import settings option save methods オーバーライド 特定 valid 辞書 storages サブクラス MyStorage conf None deconstructible listdir 固有 クイック検索 Last update: 2026年10月09日 « previous | up | next » ...
-
https://man.mtool.work/django/6.1/howto/custom-file-storage.html
- カスタムのストレージクラスを書く — Django 6.1 ドキュメント 10447
- Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » カスタムのストレージクラスを書く ¶ たとえばリモートシステム上にファイルを保存する場合、カスタムストレージクラスを定義することで、カスタムファイルスト
... クラスがローカルファイルストレージを提供する場合は、 path() メソッドをオーバーライドする必要があります。 ストレージクラスは deconstructible でなければならないので、マイグレーションのフィールドで使われたときにそれはシリアライズすることができます。フィールドがそれ ... 自身 serializable である引数を持つ限り、これのために django.utils.deconstruct.deconstructible クラスデコレータを使うことができます (それが FileSystemStorage で Django が使うものです)。 デフォルトにおいて、以下に示すメ ...
-
https://man.mtool.work/django/6.1/howto/custom-file-storage.html
- Django 1.7.1 リリースノート — Django 6.1 ドキュメント 8964
- Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.7.1 リリースノート ¶ October 22, 2014 Django 1.7.1 fixes several bugs in 1.7. バグ修正 ¶ Allowed related many-to-many fields to be referenc
... ialization of type objects in migrations ( #22951 ). Allowed inline and hidden references to admin fields ( #23431 ). The @deconstructible decorator now fails with a ValueError if the decorated object cannot automatically be imported ( #23418 ). Fixed a typo in ...
-
https://man.mtool.work/django/6.1/releases/1.7.1.html
- Django 1.7.1 リリースノート — Django 6.1 ドキュメント 8964
- Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.7.1 リリースノート ¶ October 22, 2014 Django 1.7.1 fixes several bugs in 1.7. バグ修正 ¶ Allowed related many-to-many fields to be referenc
... ialization of type objects in migrations ( #22951 ). Allowed inline and hidden references to admin fields ( #23431 ). The @deconstructible decorator now fails with a ValueError if the decorated object cannot automatically be imported ( #23418 ). Fixed a typo in ...
-
https://man.mtool.work/django/6.1/releases/1.7.1.html
- マイグレーション — Django 6.1 ドキュメント 8476
- Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » マイグレーション ¶ マイグレーション (Migrations) は、Django でモデルに対して行った変更 (フィールドの追加やモデルの削除など) をデータベーススキーマに
... す。 クラスのコンストラクタのすべての引数がそれ自体でシリアライズ可能である場合には、次のように django.utils.deconstruct の @deconstructible クラスデコレータを使うことで deconstruct() メソッドを追加できます。 from django.utils.deconstruct import deconstructible @ ...
-
https://man.mtool.work/django/6.1/topics/migrations.html
- マイグレーション — Django 6.1 ドキュメント 8476
- Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » マイグレーション ¶ マイグレーション (Migrations) は、Django でモデルに対して行った変更 (フィールドの追加やモデルの削除など) をデータベーススキーマに
... す。 クラスのコンストラクタのすべての引数がそれ自体でシリアライズ可能である場合には、次のように django.utils.deconstruct の @deconstructible クラスデコレータを使うことで deconstruct() メソッドを追加できます。 from django.utils.deconstruct import deconstructible @ ...
-
https://man.mtool.work/django/6.1/topics/migrations.html
- Django 6.0 release notes — Django 6.1 ドキュメント 6994
- Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 6.0 release notes ¶ December 3, 2025 Welcome to Django 6.0! These release notes cover the new features , as well as some backwards incompatib
... g transitioned to normal migrations. Migrations now support serialization of zoneinfo.ZoneInfo instances. Serialization of deconstructible objects now supports keyword arguments with names that are not valid Python identifiers. モデル ¶ Constraints now implemen ...
-
https://man.mtool.work/django/6.1/releases/6.0.html
- Django 6.0 release notes — Django 6.1 ドキュメント 6994
- Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 6.0 release notes ¶ December 3, 2025 Welcome to Django 6.0! These release notes cover the new features , as well as some backwards incompatib
... g transitioned to normal migrations. Migrations now support serialization of zoneinfo.ZoneInfo instances. Serialization of deconstructible objects now supports keyword arguments with names that are not valid Python identifiers. モデル ¶ Constraints now implemen ...
-
https://man.mtool.work/django/6.1/releases/6.0.html
PREV
1
NEXT