per page, with , order by , clip by
Results of 1 - 10 of about 16 for answer (0.006 sec.)
モデルの Meta オプション — Django 6.1 ドキュメント 13308
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » モデルの Meta オプション ¶ このドキュメントでは、モデル内部の class Meta 内でモデルに与えられる、すべての可能な メタデータオプション を説明します。 ... タベースにアクセスできる人のために、 データベーステーブルをドキュメント化するのに便利です。たとえば以下のようにします: class Answer ( models . Model ): question = models . ForeignKey ( Question , on_delete = models . CASCADE ) answer = models . TextField ... () class Meta : db_table_comment = "Question answers" db_tablespace ¶ Options. db_tablespace ¶ このモデルに使用する データベーステーブル空間 の名前です。デフォルトはプロジェク ... 常は ForeignKey です。これは、リレーション先オブジェクトを親オブジェクトに対してソート可能にするために使用できます。例えば、 Answer と Question オブジェクトにリレーションがあり、質問には複数の答えがあり、答えの順番が重要である場合、次のようにします: from ...
https://man.mtool.work/django/6.1/ref/models/options.html
モデルの Meta オプション — Django 6.1 ドキュメント 13013
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » モデルの Meta オプション ¶ このドキュメントでは、モデル内部の class Meta 内でモデルに与えられる、すべての可能な メタデータオプション を説明します。 ... タベースにアクセスできる人のために、 データベーステーブルをドキュメント化するのに便利です。たとえば以下のようにします: class Answer ( models . Model ): question = models . ForeignKey ( Question , on_delete = models . CASCADE ) answer = models . TextField ... () class Meta : db_table_comment = "Question answers" db_tablespace ¶ Options. db_tablespace ¶ このモデルに使用する データベーステーブル空間 の名前です。デフォルトはプロジェク ... 常は ForeignKey です。これは、リレーション先オブジェクトを親オブジェクトに対してソート可能にするために使用できます。例えば、 Answer と Question オブジェクトにリレーションがあり、質問には複数の答えがあり、答えの順番が重要である場合、次のようにします: from ...
https://man.mtool.work/django/6.1/ref/models/options.html
Django へのコントリビュート — Django 6.1 ドキュメント 8612
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django へのコントリビュート ¶ Django はボランティアで成り立っているコミュニティです。Django が成長し続けるにつれて、私たちは常に他の人を助けるために ... place for discussing the Django framework and applications and projects that use it. This is also a good place to ask and answer any questions related to installing, using, or contributing to Django. Join the Django Discord server to discuss and answe ...
https://man.mtool.work/django/6.1/internals/contributing/
Django へのコントリビュート — Django 6.1 ドキュメント 8612
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django へのコントリビュート ¶ Django はボランティアで成り立っているコミュニティです。Django が成長し続けるにつれて、私たちは常に他の人を助けるために ... place for discussing the Django framework and applications and projects that use it. This is also a good place to ask and answer any questions related to installing, using, or contributing to Django. Join the Django Discord server to discuss and answe ...
https://man.mtool.work/django/6.1/internals/contributing/
Django 4.2 リリースノート — Django 6.1 ドキュメント 8248
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 4.2 リリースノート ¶ 2023年4月3日 Django 4.2 へようこそ! このリリースノートでは、 バージョン 4.2 の新機能 と、Django 4.1 以前からアップグレー ... ( db_comment = "Date and time when the question was published" , ) class Meta : db_table_comment = "Poll questions" class Answer ( models . Model ): question = models . ForeignKey ( Question , on_delete = models . CASCADE , db_comment = "Reference to ... a question" , ) answer = models . TextField ( db_comment = "Question answer" ) class Meta : db_table_comment = "Question answers" また、新しい Al ...
https://man.mtool.work/django/6.1/releases/4.2.html
Django 4.2 リリースノート — Django 6.1 ドキュメント 8248
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 4.2 リリースノート ¶ 2023年4月3日 Django 4.2 へようこそ! このリリースノートでは、 バージョン 4.2 の新機能 と、Django 4.1 以前からアップグレー ... ( db_comment = "Date and time when the question was published" , ) class Meta : db_table_comment = "Poll questions" class Answer ( models . Model ): question = models . ForeignKey ( Question , on_delete = models . CASCADE , db_comment = "Reference to ... a question" , ) answer = models . TextField ( db_comment = "Question answer" ) class Meta : db_table_comment = "Question answers" また、新しい Al ...
https://man.mtool.work/django/6.1/releases/4.2.html
フォーム フィールド — Django 6.1 ドキュメント 8144
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » フォーム フィールド ¶ class Field [ソース] ¶ Form クラスを作成時の一番重要な部分は、form のフィールド (field) の定義です。各フィールドにはカスタムの ... > class ContactForm ( forms . Form ): ... age = forms . IntegerField () ... nationality = forms . CharField () ... captcha_answer = forms . IntegerField ( label = "2 + 2" , label_suffix = " =" ) ... >>> f = ContactForm ( label_suffix = "?" ) >>> print ... >Nationality?</label><input type="text" name="nationality" required id="id_nationality"></div> <div><label for="id_captcha_answer">2 + 2 =</label><input type="number" name="captcha_answer" required id="id_captcha_answer"></div> initial ¶ Field. initial ...
https://man.mtool.work/django/6.1/ref/forms/fields.html
フォーム フィールド — Django 6.1 ドキュメント 8144
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » フォーム フィールド ¶ class Field [ソース] ¶ Form クラスを作成時の一番重要な部分は、form のフィールド (field) の定義です。各フィールドにはカスタムの ... > class ContactForm ( forms . Form ): ... age = forms . IntegerField () ... nationality = forms . CharField () ... captcha_answer = forms . IntegerField ( label = "2 + 2" , label_suffix = " =" ) ... >>> f = ContactForm ( label_suffix = "?" ) >>> print ... >Nationality?</label><input type="text" name="nationality" required id="id_nationality"></div> <div><label for="id_captcha_answer">2 + 2 =</label><input type="number" name="captcha_answer" required id="id_captcha_answer"></div> initial ¶ Field. initial ...
https://man.mtool.work/django/6.1/ref/forms/fields.html
Django の認証方法のカスタマイズ — Django 6.1 ドキュメント 8057
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django の認証方法のカスタマイズ ¶ Django がデフォルトで提供する認証機能は、ほとんどの一般的なケースでは十分なものですが、デフォルトではニーズにマッチ ... rn self . email def has_perm ( self , perm , obj = None ): "Does the user have a specific permission?" # Simplest possible answer: Yes, always return True def has_module_perms ( self , app_label ): "Does the user have permissions to view the app `app_l ... abel`?" # Simplest possible answer: Yes, always return True @property def is_staff ( self ): "Is the user a member of staff?" # Simplest possible answer: All ...
https://man.mtool.work/django/6.1/topics/auth/customizing.html
Django の認証方法のカスタマイズ — Django 6.1 ドキュメント 7953
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django の認証方法のカスタマイズ ¶ Django がデフォルトで提供する認証機能は、ほとんどの一般的なケースでは十分なものですが、デフォルトではニーズにマッチ ... rn self . email def has_perm ( self , perm , obj = None ): "Does the user have a specific permission?" # Simplest possible answer: Yes, always return True def has_module_perms ( self , app_label ): "Does the user have permissions to view the app `app_l ... abel`?" # Simplest possible answer: Yes, always return True @property def is_staff ( self ): "Is the user a member of staff?" # Simplest possible answer: All ...
https://man.mtool.work/django/6.1/topics/auth/customizing.html
PREV 1 2 NEXT