per page, with , order by , clip by
Results of 1 - 10 of about 28 for prep (0.021 sec.)
Django 1.2 リリースノート — Django 6.1 ドキュメント 13567
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.2 リリースノート ¶ 2010 年 5 月 17 日 Django 1.2 へようこそ! Nearly a year in the making, Django 1.2 packs an impressive list of new featur ... of custom Field subclasses should be aware that a number of methods have had a change in prototype, detailed under get_db_prep_*() methods on Field , below. The internals of template tags have changed somewhat; authors of custom template tags that n ... kwards compatible imports in the old locations, which are deprecated and will cease to be supported in Django 1.4). get_db_prep_*() methods on Field ¶ Prior to Django 1.2, a custom Field had the option of defining several functions to support convers ... ustom field might look something like: class CustomModelField ( models . Field ): ... def db_type ( self ): ... def get_db_prep_save ( self , value ): ... def get_db_prep_value ( self , value ): ... def get_db_prep_lookup ( self , lookup_type , value ...
https://man.mtool.work/django/6.1/releases/1.2.html
Django 1.2 リリースノート — Django 6.1 ドキュメント 13567
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.2 リリースノート ¶ 2010 年 5 月 17 日 Django 1.2 へようこそ! Nearly a year in the making, Django 1.2 packs an impressive list of new featur ... of custom Field subclasses should be aware that a number of methods have had a change in prototype, detailed under get_db_prep_*() methods on Field , below. The internals of template tags have changed somewhat; authors of custom template tags that n ... kwards compatible imports in the old locations, which are deprecated and will cease to be supported in Django 1.4). get_db_prep_*() methods on Field ¶ Prior to Django 1.2, a custom Field had the option of defining several functions to support convers ... ustom field might look something like: class CustomModelField ( models . Field ): ... def db_type ( self ): ... def get_db_prep_save ( self , value ): ... def get_db_prep_value ( self , value ): ... def get_db_prep_lookup ( self , lookup_type , value ...
https://man.mtool.work/django/6.1/releases/1.2.html
カスタムのモデルフィールドを作成する — Django 6.1 ドキュメント 9438
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » カスタムのモデルフィールドを作成する ¶ はじめに ¶ モデルリファレンス ドキュメントでは、Djangoの標準フィールドクラスである、 CharField や、 DateField ... をクエリ変数に変換する ¶ データベースを使用するには両方の変換が必要なので、 from_db_value() をオーバーライドする場合は、 get_prep_value() もオーバーライドして Python オブジェクトをクエリの値に戻す必要があります。 例えば: class HandField ( models . Fiel ... d ): # ... def get_prep_value ( self , value ): return "" . join ( [ "" . join ( l ) for l in ( value . north , value . east , value . south , val ... ue . west )] ) 警告 カスタムフィールドでMySQLの CHAR 、 VARCHAR 、 TEXT 型を使用する場合は、 get_prep_value() が常に文字列型を返すようにする必要があります。MySQL はこれらの型に対して整数を指定してクエリを実行したとき、柔軟で ...
https://man.mtool.work/django/6.1/howto/custom-model-fields.html
カスタムのモデルフィールドを作成する — Django 6.1 ドキュメント 9438
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » カスタムのモデルフィールドを作成する ¶ はじめに ¶ モデルリファレンス ドキュメントでは、Djangoの標準フィールドクラスである、 CharField や、 DateField ... をクエリ変数に変換する ¶ データベースを使用するには両方の変換が必要なので、 from_db_value() をオーバーライドする場合は、 get_prep_value() もオーバーライドして Python オブジェクトをクエリの値に戻す必要があります。 例えば: class HandField ( models . Fiel ... d ): # ... def get_prep_value ( self , value ): return "" . join ( [ "" . join ( l ) for l in ( value . north , value . east , value . south , val ... ue . west )] ) 警告 カスタムフィールドでMySQLの CHAR 、 VARCHAR 、 TEXT 型を使用する場合は、 get_prep_value() が常に文字列型を返すようにする必要があります。MySQL はこれらの型に対して整数を指定してクエリを実行したとき、柔軟で ...
https://man.mtool.work/django/6.1/howto/custom-model-fields.html
モデルフィールドリファレンス — Django 6.1 ドキュメント 8799
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » モデルフィールドリファレンス ¶ このドキュメントには、Django が提供するフィールドオプション field options とフィールド型 field types を含む、 Field の ... はデフォルトの文字数 50 を使います。 暗黙的に Field.db_index を True にセットします。 It is often useful to automatically prepopulate a SlugField based on the value of some other value. You can do this automatically in the admin using prepopulated_f ... ngo はフィールドを使ってデータベーステーブルを作成したり ( db_type() )、 Python の型をデータベースにマッピングしたり ( get_prep_value() )、逆にしたり ( from_db_value() ) します。 A field is thus a fundamental piece in different Django APIs, notably t ... のバックエンドの値 -> Python の値) データベースへの保存時 (Python の値 -> データベースのバックエンドの値) クエリでは get_db_prep_value() と get_prep_value() が使用されます: get_prep_value ( value ) [ソース] ¶ value はモデルの属性の現在の値で、メソッド ...
https://man.mtool.work/django/6.1/ref/models/fields.html
モデルフィールドリファレンス — Django 6.1 ドキュメント 8799
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » モデルフィールドリファレンス ¶ このドキュメントには、Django が提供するフィールドオプション field options とフィールド型 field types を含む、 Field の ... はデフォルトの文字数 50 を使います。 暗黙的に Field.db_index を True にセットします。 It is often useful to automatically prepopulate a SlugField based on the value of some other value. You can do this automatically in the admin using prepopulated_f ... ngo はフィールドを使ってデータベーステーブルを作成したり ( db_type() )、 Python の型をデータベースにマッピングしたり ( get_prep_value() )、逆にしたり ( from_db_value() ) します。 A field is thus a fundamental piece in different Django APIs, notably t ... のバックエンドの値 -> Python の値) データベースへの保存時 (Python の値 -> データベースのバックエンドの値) クエリでは get_db_prep_value() と get_prep_value() が使用されます: get_prep_value ( value ) [ソース] ¶ value はモデルの属性の現在の値で、メソッド ...
https://man.mtool.work/django/6.1/ref/models/fields.html
Django 4.2.2 リリースノート — Django 6.1 ドキュメント 8684
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 4.2.2 リリースノート ¶ 2023年6月5日 Django 4.2.2 では、4.2.1 におけるいくつかのバグを修正しました。 バグ修正 ¶ Django 4.2 におけるリグレッショ ... ングが行われる問題が解消されます ( #34544 )。 Django 4.2 におけるリグレッションに対応し、 JSONField のサブクラスにおける get_prep_value() 呼び出しを復元しました ( #34539 )。 Django 4.2 におけるリグレッションを修正しました。これにより、 QuerySet.defer() ... エリ 集計 リリースノート Oracle TextField BinaryField isnull exact None ルックアップ 不必要 ラッピング JSONField サブクラス prep 復元 クイック検索 Last update: 2026年10月09日 « previous | up | next » ...
https://man.mtool.work/django/6.1/releases/4.2.2.html
Django 1.10 リリースノート — Django 6.1 ドキュメント 8176
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.10 リリースノート ¶ 2016年8月1日 Django 1.10 へようこそ! このリリースノートでは、 バージョン 1.10 の新機能 と、Django 1.9 以前からアップグレ ... h ) # Unsalted MD5 passwords might not have an 'md5$$' prefix: User . objects . filter ( password__length = 32 ) Field.get_prep_lookup() および Field.get_db_prep_lookup() メソッドの削除 ¶ これらのいずれかのメソッドを実装していたカスタムフィールドがあ ... import Field from django.db.models.lookups import Exact class MyField ( Field ): ... class MyFieldExact ( Exact ): def get_prep_lookup ( self ): # do_custom_stuff_for_myfield ... MyField . register_lookup ( MyFieldExact ) django.contrib.gis ¶ SpatiaL ... ルドに対する null 代入チェックの廃止 デフォルトの PASSWORD_HASHERS 設定からの脆弱なパスワードハッシュ生成器の削除 Field.get_prep_lookup() および Field.get_db_prep_lookup() メソッドの削除 django.contrib.gis request body の最大サイズと GET/POST パラメー ...
https://man.mtool.work/django/6.1/releases/1.10.html
Django 1.10 リリースノート — Django 6.1 ドキュメント 8176
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.10 リリースノート ¶ 2016年8月1日 Django 1.10 へようこそ! このリリースノートでは、 バージョン 1.10 の新機能 と、Django 1.9 以前からアップグレ ... h ) # Unsalted MD5 passwords might not have an 'md5$$' prefix: User . objects . filter ( password__length = 32 ) Field.get_prep_lookup() および Field.get_db_prep_lookup() メソッドの削除 ¶ これらのいずれかのメソッドを実装していたカスタムフィールドがあ ... import Field from django.db.models.lookups import Exact class MyField ( Field ): ... class MyFieldExact ( Exact ): def get_prep_lookup ( self ): # do_custom_stuff_for_myfield ... MyField . register_lookup ( MyFieldExact ) django.contrib.gis ¶ SpatiaL ... ルドに対する null 代入チェックの廃止 デフォルトの PASSWORD_HASHERS 設定からの脆弱なパスワードハッシュ生成器の削除 Field.get_prep_lookup() および Field.get_db_prep_lookup() メソッドの削除 django.contrib.gis request body の最大サイズと GET/POST パラメー ...
https://man.mtool.work/django/6.1/releases/1.10.html
Django 1.8.2 リリースノート — Django 6.1 ドキュメント 7931
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.8.2 リリースノート ¶ May 20, 2015 Django 1.8.2 fixes a security issue and several bugs in 1.8.1. Fixed session flushing in the cached_db ba ... se generation on MySQL when the query's model has a self-referential foreign key ( #24748 ). Implemented ForeignKey.get_db_prep_value() so that ForeignKey s pointing to UUIDField and inheritance on models with UUIDField primary keys work correctly ( ...
https://man.mtool.work/django/6.1/releases/1.8.2.html
PREV 1 2 3 NEXT