per page, with , order by , clip by
Results of 1 - 10 of about 20 for deconstruct (0.006 sec.)
カスタムのモデルフィールドを作成する — Django 6.1 ドキュメント 12609
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » カスタムのモデルフィールドを作成する ¶ はじめに ¶ モデルリファレンス ドキュメントでは、Djangoの標準フィールドクラスである、 CharField や、 DateField ... 細については、 フィールドのドキュメント を参照してください。 フィールドの解体 ¶ __init__() メソッドとは対照的なものとして、 deconstruct() メソッドがあります。これは モデルのマイグレーション 中に使用されるもので、新しいフィールドのインスタンスを取得する方法、 ... するためにどの引数を __init__() に渡すかを指示します。 継承元のフィールドの上に追加のオプションを追加していない場合、新しい deconstruct() メソッドを記述する必要はありません。 ただし、 __init__() で渡される引数を変更する場合( HandField のように)、渡される値 ... を補足する必要があります。 deconstruct() 関数は4要素のタプルを返します。それは、フィールドの属性、インポートするフィールドクラスのフルパス、位置引数(リスト型)、 ...
https://man.mtool.work/django/6.1/howto/custom-model-fields.html
カスタムのモデルフィールドを作成する — Django 6.1 ドキュメント 12609
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » カスタムのモデルフィールドを作成する ¶ はじめに ¶ モデルリファレンス ドキュメントでは、Djangoの標準フィールドクラスである、 CharField や、 DateField ... 細については、 フィールドのドキュメント を参照してください。 フィールドの解体 ¶ __init__() メソッドとは対照的なものとして、 deconstruct() メソッドがあります。これは モデルのマイグレーション 中に使用されるもので、新しいフィールドのインスタンスを取得する方法、 ... するためにどの引数を __init__() に渡すかを指示します。 継承元のフィールドの上に追加のオプションを追加していない場合、新しい deconstruct() メソッドを記述する必要はありません。 ただし、 __init__() で渡される引数を変更する場合( HandField のように)、渡される値 ... を補足する必要があります。 deconstruct() 関数は4要素のタプルを返します。それは、フィールドの属性、インポートするフィールドクラスのフルパス、位置引数(リスト型)、 ...
https://man.mtool.work/django/6.1/howto/custom-model-fields.html
マイグレーション — Django 6.1 ドキュメント 10281
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » マイグレーション ¶ マイグレーション (Migrations) は、Django でモデルに対して行った変更 (フィールドの追加やモデルの削除など) をデータベーススキーマに ... "hint" : "Use GenericIPAddressField instead." , "id" : "fields.E900" , # pick a unique ID for your field. } __init__() 、 deconstruct() 、 get_internal_type() などのデータベースマイグレーションで動作するために必要なフィールドのメソッドは残しておく必要があり ... れていないメソッド 任意のクラスへのリファレンス (ただし、モジュールのトップレベルのスコープにいなければならない) カスタムの deconstruct() メソッドを持つすべてのオブジェクト ( 以下を参照 ) Changed in Django 6.0: Serialization support for zoneinfo.ZoneInfo ins ... 値がマイグレーションでどのように表示されるかを示す文字列と、マイグレーションで必要なインポートのセットを返す必要があります。 deconstruct() メソッドを追加する ¶ 自作のカスタムクラスに deconstruct() メソッドを実装することで、インスタンスを Django にシリアライズ ...
https://man.mtool.work/django/6.1/topics/migrations.html
マイグレーション — Django 6.1 ドキュメント 10281
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » マイグレーション ¶ マイグレーション (Migrations) は、Django でモデルに対して行った変更 (フィールドの追加やモデルの削除など) をデータベーススキーマに ... "hint" : "Use GenericIPAddressField instead." , "id" : "fields.E900" , # pick a unique ID for your field. } __init__() 、 deconstruct() 、 get_internal_type() などのデータベースマイグレーションで動作するために必要なフィールドのメソッドは残しておく必要があり ... れていないメソッド 任意のクラスへのリファレンス (ただし、モジュールのトップレベルのスコープにいなければならない) カスタムの deconstruct() メソッドを持つすべてのオブジェクト ( 以下を参照 ) Changed in Django 6.0: Serialization support for zoneinfo.ZoneInfo ins ... 値がマイグレーションでどのように表示されるかを示す文字列と、マイグレーションで必要なインポートのセットを返す必要があります。 deconstruct() メソッドを追加する ¶ 自作のカスタムクラスに deconstruct() メソッドを実装することで、インスタンスを Django にシリアライズ ...
https://man.mtool.work/django/6.1/topics/migrations.html
Django 1.7 リリースノート — Django 6.1 ドキュメント 9210
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.7 リリースノート ¶ September 2, 2014 Django 1.7 へようこそ! このリリースノートでは、 バージョン 1.7 の新機能 と、Django 1.6 以前からアップグ ... and to enable easier addition of composite keys in future releases of Django, the Field API now has a new required method: deconstruct() . This method takes no arguments, and returns a tuple of four items: name : The field's attribute name on its parent mod ... es. This change should not affect you unless you write custom Field subclasses; if you do, you may need to reimplement the deconstruct() method if your subclass changes the method signature of __init__ in any way. If your field just inherits from a built-in ... Django field and doesn't override __init__ , no changes are necessary. If you do need to override deconstruct() , a good place to start is the built-in Django fields ( django/db/models/fields/__init__.py ) as several fields, includi ...
https://man.mtool.work/django/6.1/releases/1.7.html
Django 1.7 リリースノート — Django 6.1 ドキュメント 9210
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.7 リリースノート ¶ September 2, 2014 Django 1.7 へようこそ! このリリースノートでは、 バージョン 1.7 の新機能 と、Django 1.6 以前からアップグ ... and to enable easier addition of composite keys in future releases of Django, the Field API now has a new required method: deconstruct() . This method takes no arguments, and returns a tuple of four items: name : The field's attribute name on its parent mod ... es. This change should not affect you unless you write custom Field subclasses; if you do, you may need to reimplement the deconstruct() method if your subclass changes the method signature of __init__ in any way. If your field just inherits from a built-in ... Django field and doesn't override __init__ , no changes are necessary. If you do need to override deconstruct() , a good place to start is the built-in Django fields ( django/db/models/fields/__init__.py ) as several fields, includi ...
https://man.mtool.work/django/6.1/releases/1.7.html
Django 1.11.5 リリースノート — Django 6.1 ドキュメント 8309
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.11.5 リリースノート ¶ September 5, 2017 Django 1.11.5 fixes a security issue and several bugs in 1.11.4. CVE-2017-12794: Possible XSS in tr ... t to LogoutView , for equivalence with the function-based logout() view ( #28513 ). Omitted pages_per_range from BrinIndex.deconstruct() if it's None ( #25809 ). Fixed a regression where SelectDateWidget localized the years in the select box ( #28530 ). Fix ...
https://man.mtool.work/django/6.1/releases/1.11.5.html
Django 2.0.3 リリースノート — Django 6.1 ドキュメント 8309
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 2.0.3 リリースノート ¶ 2018年3月6日 Django 2.0.3 では、2.0.2 にあった2つのセキュリティの問題と、いくつかのバグを修正しました。また、Transifex ... n time picker widget displaying "undefined" ( #29109 ). Fixed crash with QuerySet.order_by(Exists(...)) ( #29118 ). Made Q.deconstruct() deterministic with multiple keyword arguments ( #29125 ). You may need to modify Q 's in existing migrations, or accept ...
https://man.mtool.work/django/6.1/releases/2.0.3.html
Django 1.11.5 リリースノート — Django 6.1 ドキュメント 8122
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.11.5 リリースノート ¶ September 5, 2017 Django 1.11.5 fixes a security issue and several bugs in 1.11.4. CVE-2017-12794: Possible XSS in tr ... t to LogoutView , for equivalence with the function-based logout() view ( #28513 ). Omitted pages_per_range from BrinIndex.deconstruct() if it's None ( #25809 ). Fixed a regression where SelectDateWidget localized the years in the select box ( #28530 ). Fix ...
https://man.mtool.work/django/6.1/releases/1.11.5.html
Django 2.0.3 リリースノート — Django 6.1 ドキュメント 8122
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 2.0.3 リリースノート ¶ 2018年3月6日 Django 2.0.3 では、2.0.2 にあった2つのセキュリティの問題と、いくつかのバグを修正しました。また、Transifex ... n time picker widget displaying "undefined" ( #29109 ). Fixed crash with QuerySet.order_by(Exists(...)) ( #29118 ). Made Q.deconstruct() deterministic with multiple keyword arguments ( #29125 ). You may need to modify Q 's in existing migrations, or accept ...
https://man.mtool.work/django/6.1/releases/2.0.3.html
PREV 1 2 NEXT