per page, with , order by , clip by
Results of 1 - 10 of about 18 for maxlength (0.009 sec.)
フォーム API — Django 6.1 ドキュメント 12714
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » フォーム API ¶ このドキュメントについて このドキュメントでは、Django のフォーム API の詳細について説明します。このドキュメントを読む前に フォームにつ ... >> f . as_div () . split ( "</div>" )[ 0 ] '<div><label for="id_subject">Subject:</label><input type="text" name="subject" maxlength="100" required id="id_subject">' >>> f [ "subject" ] . label = "Topic" >>> f . as_div () . split ( "</div>" )[ 0 ] '<div>< ... label for="id_subject">Topic:</label><input type="text" name="subject" maxlength="100" required id="id_subject">' base_fields 属性を変更しないように注意してください。この変更は、同じPythonプロセス内のすべ ... er_f . as_div () . split ( "</div>" )[ 0 ] '<div><label for="id_subject">Subject?</label><input type="text" name="subject" maxlength="100" required id="id_subject">' "clean" なデータにアクセスする ¶ Form. cleaned_data ¶ Form クラスの各フィールドは、データ ...
https://man.mtool.work/django/6.1/ref/forms/api.html
フォーム API — Django 6.1 ドキュメント 12714
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » フォーム API ¶ このドキュメントについて このドキュメントでは、Django のフォーム API の詳細について説明します。このドキュメントを読む前に フォームにつ ... >> f . as_div () . split ( "</div>" )[ 0 ] '<div><label for="id_subject">Subject:</label><input type="text" name="subject" maxlength="100" required id="id_subject">' >>> f [ "subject" ] . label = "Topic" >>> f . as_div () . split ( "</div>" )[ 0 ] '<div>< ... label for="id_subject">Topic:</label><input type="text" name="subject" maxlength="100" required id="id_subject">' base_fields 属性を変更しないように注意してください。この変更は、同じPythonプロセス内のすべ ... er_f . as_div () . split ( "</div>" )[ 0 ] '<div><label for="id_subject">Subject?</label><input type="text" name="subject" maxlength="100" required id="id_subject">' "clean" なデータにアクセスする ¶ Form. cleaned_data ¶ Form クラスの各フィールドは、データ ...
https://man.mtool.work/django/6.1/ref/forms/api.html
Porting your apps from Django 0.96 to 1.0 — Django 6.1 ドキュメント 10620
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Porting your apps from Django 0.96 to 1.0 ¶ Django 1.0 breaks compatibility with 0.96 in some areas. This guide will help you port 0.96 projects and ... ll prevent some obscure problems. See Unicode データ for full details. モデル ¶ Common changes to your models file: Rename maxlength to max_length ¶ Rename your maxlength argument to max_length (this was changed to be consistent with form fields): Replace ... the changes you'll need to make: Old (0.96) models.py : class Author ( models . Model ): first_name = models . CharField ( maxlength = 30 ) last_name = models . CharField ( maxlength = 30 ) slug = models . CharField ( maxlength = 60 , prepopulate_from = ( ... ced with a reference to datetime.datetime.now : Old (0.96): class Article ( models . Model ): title = models . CharField ( maxlength = 100 ) published = models . DateField ( default = LazyDate ()) New (1.0): import datetime class Article ( models . Model ...
https://man.mtool.work/django/6.1/releases/1.0-porting-guide.html
Porting your apps from Django 0.96 to 1.0 — Django 6.1 ドキュメント 10106
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Porting your apps from Django 0.96 to 1.0 ¶ Django 1.0 breaks compatibility with 0.96 in some areas. This guide will help you port 0.96 projects and ... ll prevent some obscure problems. See Unicode データ for full details. モデル ¶ Common changes to your models file: Rename maxlength to max_length ¶ Rename your maxlength argument to max_length (this was changed to be consistent with form fields): Replace ... the changes you'll need to make: Old (0.96) models.py : class Author ( models . Model ): first_name = models . CharField ( maxlength = 30 ) last_name = models . CharField ( maxlength = 30 ) slug = models . CharField ( maxlength = 60 , prepopulate_from = ( ... ced with a reference to datetime.datetime.now : Old (0.96): class Article ( models . Model ): title = models . CharField ( maxlength = 100 ) published = models . DateField ( default = LazyDate ()) New (1.0): import datetime class Article ( models . Model ...
https://man.mtool.work/django/6.1/releases/1.0-porting-guide.html
モデルからフォームを作成する — Django 6.1 ドキュメント 8407
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » モデルからフォームを作成する ¶ ModelForm ¶ class ModelForm [ソース] ¶ データベース中心のアプリケーションを作成している場合、Django モデルに密接にマッ ... rm-MAX_NUM_FORMS"> <div><label for="id_form-0-name">Name:</label><input id="id_form-0-name" type="text" name="form-0-name" maxlength="100"></div> <div><label for="id_form-0-title">Title:</label><select name="form-0-title" id="id_form-0-title"> <option val ... bel for="id_form-0-name">Name:</label><input id="id_form-0-name" type="text" name="form-0-name" value="Charles Baudelaire" maxlength="100"><input type="hidden" name="form-0-id" value="1" id="id_form-0-id"></div> <div><label for="id_form-1-name">Name:</lab ... el><input id="id_form-1-name" type="text" name="form-1-name" value="Paul Verlaine" maxlength="100"><input type="hidden" name="form-1-id" value="3" id="id_form-1-id"></div> <div><label for="id_form-2-name">Name:</lab ...
https://man.mtool.work/django/6.1/topics/forms/modelforms.html
モデルからフォームを作成する — Django 6.1 ドキュメント 8407
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » モデルからフォームを作成する ¶ ModelForm ¶ class ModelForm [ソース] ¶ データベース中心のアプリケーションを作成している場合、Django モデルに密接にマッ ... rm-MAX_NUM_FORMS"> <div><label for="id_form-0-name">Name:</label><input id="id_form-0-name" type="text" name="form-0-name" maxlength="100"></div> <div><label for="id_form-0-title">Title:</label><select name="form-0-title" id="id_form-0-title"> <option val ... bel for="id_form-0-name">Name:</label><input id="id_form-0-name" type="text" name="form-0-name" value="Charles Baudelaire" maxlength="100"><input type="hidden" name="form-0-id" value="1" id="id_form-0-id"></div> <div><label for="id_form-1-name">Name:</lab ... el><input id="id_form-1-name" type="text" name="form-1-name" value="Paul Verlaine" maxlength="100"><input type="hidden" name="form-1-id" value="3" id="id_form-1-id"></div> <div><label for="id_form-2-name">Name:</lab ...
https://man.mtool.work/django/6.1/topics/forms/modelforms.html
フォーム フィールド — Django 6.1 ドキュメント 8012
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » フォーム フィールド ¶ class Field [ソース] ¶ Form クラスを作成時の一番重要な部分は、form のフィールド (field) の定義です。各フィールドにはカスタムの ... id = False ) >>> print ( f ) <div>Subject:<div class="helptext">100 characters max.</div><input type="text" name="subject" maxlength="100" required></div> <div>Message:<input type="text" name="message" required></div> <div>Contact email:<div class="helpte ... xt">Your email (so we can reply).</div><input type="email" name="contact_email" maxlength="320" required></div> フィールドにヘルプテキストがある場合、それは aria-describedby HTML 属性を使用して入力と関連付けられま ... e:</label> <div class="helptext" id="id_username_helptext">e.g., user@example.com</div> <input type="text" name="username" maxlength="255" required aria-describedby="id_username_helptext" id="id_username"> </div> カスタム aria-describedby 属性を追加する際 ...
https://man.mtool.work/django/6.1/ref/forms/fields.html
フォーム フィールド — Django 6.1 ドキュメント 8012
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » フォーム フィールド ¶ class Field [ソース] ¶ Form クラスを作成時の一番重要な部分は、form のフィールド (field) の定義です。各フィールドにはカスタムの ... id = False ) >>> print ( f ) <div>Subject:<div class="helptext">100 characters max.</div><input type="text" name="subject" maxlength="100" required></div> <div>Message:<input type="text" name="message" required></div> <div>Contact email:<div class="helpte ... xt">Your email (so we can reply).</div><input type="email" name="contact_email" maxlength="320" required></div> フィールドにヘルプテキストがある場合、それは aria-describedby HTML 属性を使用して入力と関連付けられま ... e:</label> <div class="helptext" id="id_username_helptext">e.g., user@example.com</div> <input type="text" name="username" maxlength="255" required aria-describedby="id_username_helptext" id="id_username"> </div> カスタム aria-describedby 属性を追加する際 ...
https://man.mtool.work/django/6.1/ref/forms/fields.html
Django 5.2 リリースノート — Django 6.1 ドキュメント 7892
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 5.2 リリースノート ¶ 2025年4月2日 Django 5.2 へようこそ! このリリースノートでは、 バージョン 5.2 の新機能 と、Django 5.1 以前からアップグレー ... "custom" > < label for = "id_name" > Your Name: </ label > < input type = "text" name = "name" class = "name-input-class" maxlength = "100" id = "id_name" > </ div > < div class = "custom" > < label for = "id_email" > Your Email: </ label > < input type ... = "email" name = "email" maxlength = "320" required = "" id = "id_email" > </ div > この機能の更なる詳細は BoundField のカスタマイズ を参照してください。 マイ ...
https://man.mtool.work/django/6.1/releases/5.2.html
Django 5.2 リリースノート — Django 6.1 ドキュメント 7892
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 5.2 リリースノート ¶ 2025年4月2日 Django 5.2 へようこそ! このリリースノートでは、 バージョン 5.2 の新機能 と、Django 5.1 以前からアップグレー ... "custom" > < label for = "id_name" > Your Name: </ label > < input type = "text" name = "name" class = "name-input-class" maxlength = "100" id = "id_name" > </ div > < div class = "custom" > < label for = "id_email" > Your Email: </ label > < input type ... = "email" name = "email" maxlength = "320" required = "" id = "id_email" > </ div > この機能の更なる詳細は BoundField のカスタマイズ を参照してください。 マイ ...
https://man.mtool.work/django/6.1/releases/5.2.html
PREV 1 2 NEXT