per page, with , order by , clip by
Results of 1 - 10 of about 36 for labels (0.005 sec.)
モデルフォーム — Django 6.1 ドキュメント 14216
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » モデルフォーム ¶ ModelForm API リファレンス。 ModelForm の使用に関する入門的な資料は、トピックガイドの モデルからフォームを作成する を参照してくださ ... テキスト文字列を対応づける辞書。 指定されていないフィールドについては、 Django はモデルフィールドの help_text を適用します。 labels ¶ ModelFormOptions. labels ¶ フィールド名に対してラベル文字列を対応づける辞書。 指定されていないフィールドについては、 Dja ... form = ModelForm , fields = None , exclude = None , formfield_callback = None , widgets = None , localized_fields = None , labels = None , help_texts = None , error_messages = None , field_classes = None ) [ソース] ¶ 与えられた model に対して ModelForm ... ングされたモデルフィールド名のディクショナリです。 localized_fields は、ローカライズされるべきフィールドの名前のリストです。 labels は、ラベルにマッピングされたモデルフィールド名のディクショナリです。 help_texts は、ヘルプテキストにマッピングされたモデル ...
https://man.mtool.work/django/6.1/ref/forms/models.html
モデルフォーム — Django 6.1 ドキュメント 13281
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » モデルフォーム ¶ ModelForm API リファレンス。 ModelForm の使用に関する入門的な資料は、トピックガイドの モデルからフォームを作成する を参照してくださ ... テキスト文字列を対応づける辞書。 指定されていないフィールドについては、 Django はモデルフィールドの help_text を適用します。 labels ¶ ModelFormOptions. labels ¶ フィールド名に対してラベル文字列を対応づける辞書。 指定されていないフィールドについては、 Dja ... form = ModelForm , fields = None , exclude = None , formfield_callback = None , widgets = None , localized_fields = None , labels = None , help_texts = None , error_messages = None , field_classes = None ) [ソース] ¶ 与えられた model に対して ModelForm ... ングされたモデルフィールド名のディクショナリです。 localized_fields は、ローカライズされるべきフィールドの名前のリストです。 labels は、ラベルにマッピングされたモデルフィールド名のディクショナリです。 help_texts は、ヘルプテキストにマッピングされたモデル ...
https://man.mtool.work/django/6.1/ref/forms/models.html
複数のデータベース — Django 6.1 ドキュメント 9335
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 複数のデータベース ¶ ここでは、Djangoがサポートする複数データベースの扱いについて説明します。残りのDjangoのドキュメントの大部分は、あなたが一つのデー ... outer : """ A router to control all database operations on models in the auth and contenttypes applications. """ route_app_labels = { "auth" , "contenttypes" } def db_for_read ( self , model , ** hints ): """ Attempts to read auth and contenttypes mode ... ls go to auth_db. """ if model . _meta . app_label in self . route_app_labels : return "auth_db" return None def db_for_write ( self , model , ** hints ): """ Attempts to write auth and contenttypes m ... odels go to auth_db. """ if model . _meta . app_label in self . route_app_labels : return "auth_db" return None def allow_relation ( self , obj1 , obj2 , ** hints ): """ Allow relations if a model in the ...
https://man.mtool.work/django/6.1/topics/db/multi-db.html
複数のデータベース — Django 6.1 ドキュメント 9335
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 複数のデータベース ¶ ここでは、Djangoがサポートする複数データベースの扱いについて説明します。残りのDjangoのドキュメントの大部分は、あなたが一つのデー ... outer : """ A router to control all database operations on models in the auth and contenttypes applications. """ route_app_labels = { "auth" , "contenttypes" } def db_for_read ( self , model , ** hints ): """ Attempts to read auth and contenttypes mode ... ls go to auth_db. """ if model . _meta . app_label in self . route_app_labels : return "auth_db" return None def db_for_write ( self , model , ** hints ): """ Attempts to write auth and contenttypes m ... odels go to auth_db. """ if model . _meta . app_label in self . route_app_labels : return "auth_db" return None def allow_relation ( self , obj1 , obj2 , ** hints ): """ Allow relations if a model in the ...
https://man.mtool.work/django/6.1/topics/db/multi-db.html
テストに関する高度なトピック — Django 6.1 ドキュメント 8780
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » テストに関する高度なトピック ¶ RequestFactory(リクエスト ファクトリ) ¶ class RequestFactory [ソース] ¶ RequestFactory はテストクライアントと同じ A ... す。通常とは異なる方法でテストを読み込む場合は、この属性をオーバーライドします。 メソッド ¶ DiscoverRunner. run_tests ( test_labels , ** kwargs ) [ソース] ¶ テストスイートを実行します。 test_labels は実行するテストを指定するもので、いくつかのフォーマット ... f.debug_mode (デフォルトは False ) に設定することで、テスト環境をセットアップできます。 DiscoverRunner. build_suite ( test_labels = None , ** kwargs ) [ソース] ¶ 指定されたテストラベルにマッチするテストスイートを構築(コンストラクト)します。 test_labe ... べてのテストを検索して実行します。 path/to/directory -- 指定したディレクトリ以下のすべてのテストを検索し、実行します。 test_labels の値が None の場合、テストランナーはカレントディレクトリ以下のすべてのファイルの中から、 pattern (上記参照) にマッチする名 ...
https://man.mtool.work/django/6.1/topics/testing/advanced.html
テストに関する高度なトピック — Django 6.1 ドキュメント 8780
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » テストに関する高度なトピック ¶ RequestFactory(リクエスト ファクトリ) ¶ class RequestFactory [ソース] ¶ RequestFactory はテストクライアントと同じ A ... す。通常とは異なる方法でテストを読み込む場合は、この属性をオーバーライドします。 メソッド ¶ DiscoverRunner. run_tests ( test_labels , ** kwargs ) [ソース] ¶ テストスイートを実行します。 test_labels は実行するテストを指定するもので、いくつかのフォーマット ... f.debug_mode (デフォルトは False ) に設定することで、テスト環境をセットアップできます。 DiscoverRunner. build_suite ( test_labels = None , ** kwargs ) [ソース] ¶ 指定されたテストラベルにマッチするテストスイートを構築(コンストラクト)します。 test_labe ... べてのテストを検索して実行します。 path/to/directory -- 指定したディレクトリ以下のすべてのテストを検索し、実行します。 test_labels の値が None の場合、テストランナーはカレントディレクトリ以下のすべてのファイルの中から、 pattern (上記参照) にマッチする名 ...
https://man.mtool.work/django/6.1/topics/testing/advanced.html
Django 3.1.1 リリースノート — Django 6.1 ドキュメント 8209
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 3.1.1 リリースノート ¶ September 1, 2020 Django 3.1.1 fixes two security issues and several bugs in 3.1. CVE-2020-24583: Incorrect permission ... system's standard umask rather than 0o077 (no group or others permissions). バグ修正 ¶ Fixed wrapping of translated action labels in the admin's navigation sidebar for East Asian languages ( #31853 ). Fixed wrapping of long model names in the admin's n ...
https://man.mtool.work/django/6.1/releases/3.1.1.html
モデルからフォームを作成する — Django 6.1 ドキュメント 8209
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » モデルからフォームを作成する ¶ ModelForm ¶ class ModelForm [ソース] ¶ データベース中心のアプリケーションを作成している場合、Django モデルに密接にマッ ... leForm ( ModelForm ): class Meta : error_messages = { NON_FIELD_ERRORS : { "unique_together" : " %(model_name)s 's %(field_labels)s are not unique." , } } save() メソッド ¶ 全ての ModelForm は save() メソッドも持っています。このメソッドは、フォームに結 ... ライドして別のウィジェットを使用する必要があります。 同様に、フィールドをさらにカスタマイズしたい場合、内部の Meta クラスの labels 、 help_texts 、 error_messages と言った属性を指定できます。 例えば、 name フィールドに対する文字列に直面する全てのユーザの ... gettext_lazy as _ class AuthorForm ( ModelForm ): class Meta : model = Author fields = [ "name" , "title" , "birth_date" ] labels = { "name" : _ ( "Writer" ), } help_texts = { "name" : _ ( "Some useful help text." ), } error_messages = { "name" : { "ma ...
https://man.mtool.work/django/6.1/topics/forms/modelforms.html
Django 3.1.1 リリースノート — Django 6.1 ドキュメント 8209
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 3.1.1 リリースノート ¶ September 1, 2020 Django 3.1.1 fixes two security issues and several bugs in 3.1. CVE-2020-24583: Incorrect permission ... system's standard umask rather than 0o077 (no group or others permissions). バグ修正 ¶ Fixed wrapping of translated action labels in the admin's navigation sidebar for East Asian languages ( #31853 ). Fixed wrapping of long model names in the admin's n ...
https://man.mtool.work/django/6.1/releases/3.1.1.html
モデルからフォームを作成する — Django 6.1 ドキュメント 8209
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » モデルからフォームを作成する ¶ ModelForm ¶ class ModelForm [ソース] ¶ データベース中心のアプリケーションを作成している場合、Django モデルに密接にマッ ... leForm ( ModelForm ): class Meta : error_messages = { NON_FIELD_ERRORS : { "unique_together" : " %(model_name)s 's %(field_labels)s are not unique." , } } save() メソッド ¶ 全ての ModelForm は save() メソッドも持っています。このメソッドは、フォームに結 ... ライドして別のウィジェットを使用する必要があります。 同様に、フィールドをさらにカスタマイズしたい場合、内部の Meta クラスの labels 、 help_texts 、 error_messages と言った属性を指定できます。 例えば、 name フィールドに対する文字列に直面する全てのユーザの ... gettext_lazy as _ class AuthorForm ( ModelForm ): class Meta : model = Author fields = [ "name" , "title" , "birth_date" ] labels = { "name" : _ ( "Writer" ), } help_texts = { "name" : _ ( "Some useful help text." ), } error_messages = { "name" : { "ma ...
https://man.mtool.work/django/6.1/topics/forms/modelforms.html
PREV 1 2 3 4 NEXT