per page, with , order by , clip by
Results of 1 - 10 of about 152 for valid (0.005 sec.)
クラスベースのビューでフォームを扱う — Django 6.1 ドキュメント 12905
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » クラスベースのビューでフォームを扱う ¶ フォームの処理には、一般に3つの場合分けが存在します。 最初の GET リクエスト (空白またはデフォルト値が埋め込ま ... ss ContactFormView ( FormView ): template_name = "contact.html" form_class = ContactForm success_url = "/thanks/" def form_valid ( self , form ): # This method is called when valid form data has been POSTed. # It should return an HttpResponse. form . ... send_email () return super () . form_valid ( form ) メモ: FormView は TemplateResponseMixin を継承するため、ここでは template_name を使うことができます。 form_valid( ... ill be used. queryset が与えられた場合には、そのクエリセットに対するモデルが使用されます。 Model form views provide a form_valid() implementation that saves the model automatically. You can override this if you have any special requirements; see below ...
https://man.mtool.work/django/6.1/topics/class-based-views/generic-editing.html
クラスベースのビューでフォームを扱う — Django 6.1 ドキュメント 12800
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » クラスベースのビューでフォームを扱う ¶ フォームの処理には、一般に3つの場合分けが存在します。 最初の GET リクエスト (空白またはデフォルト値が埋め込ま ... ss ContactFormView ( FormView ): template_name = "contact.html" form_class = ContactForm success_url = "/thanks/" def form_valid ( self , form ): # This method is called when valid form data has been POSTed. # It should return an HttpResponse. form . ... send_email () return super () . form_valid ( form ) メモ: FormView は TemplateResponseMixin を継承するため、ここでは template_name を使うことができます。 form_valid( ... ill be used. queryset が与えられた場合には、そのクエリセットに対するモデルが使用されます。 Model form views provide a form_valid() implementation that saves the model automatically. You can override this if you have any special requirements; see below ...
https://man.mtool.work/django/6.1/topics/class-based-views/generic-editing.html
フォームセット (Formset) — Django 6.1 ドキュメント 8257
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » フォームセット (Formset) ¶ class BaseFormSet [ソース] ¶ フォームセットは、同じページで複数のフォームを扱うための抽象レイヤーです。データグリッドに例 ... は、実際には制限がないと見なせるでしょう。 By default, max_num only affects how many forms are displayed and does not affect validation. If validate_max=True is passed to the formset_factory() , then max_num will affect validation. See validate_max . イ ... "form-INITIAL_FORMS" : "0" , ... } >>> formset = ArticleFormSet ( data ) >>> len ( formset . forms ) 1500 >>> formset . is_valid () False >>> formset . non_form_errors () ['Please submit at most 1000 forms.'] absolute_max が None の場合、デフォルトは ... ォームセットのバリデーション ¶ フォームセットでのバリデーションは通常の Form とほとんど同じです。フォームセットには便利な is_valid メソッドがあり、フォームセット内のすべてのフォームを検証できます: >>> from django.forms import formset_factory >>> from my ...
https://man.mtool.work/django/6.1/topics/forms/formsets.html
フォーム API — Django 6.1 ドキュメント 8152
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » フォーム API ¶ このドキュメントについて このドキュメントでは、Django のフォーム API の詳細について説明します。このドキュメントを読む前に フォームにつ ... () を実装してください。具体的な使用方法は 互いに依存するフィールドをクリーニングして検証する を参照してください。 Form. is_valid () ¶ Form オブジェクトの主なタスクは、データの検証です。バインドされた Form インスタンスでは、 is_valid() メソッドを呼び出 ... "Hi there" , ... "contact_email" : "foo@example.com" , ... "urgent" : True , ... } >>> f = ContactForm ( data ) >>> f . is_valid () True Let's try with some invalid data. In this case, subject is blank (an error, because all fields are required by def ... ault) and contact_email is not a valid email address: >>> data = { ... "subject" : "" , ... "message" : "Hi there" , ... "contact_email" : "invalid email address ...
https://man.mtool.work/django/6.1/ref/forms/api.html
Django のセキュリティポリシー — Django 6.1 ドキュメント 8152
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django のセキュリティポリシー ¶ Django の開発チームは、セキュリティ関連の問題の責任ある報告と開示に強くコミットしています。そのため、私たちはその理想 ... ll make those assessments. Extensive upfront analysis makes triage slower, not faster. If the team confirms the issue is a valid vulnerability, they will follow up and welcome further detail at that stage. If you have identified multiple potential iss ... when Django is run on a version of Python that is no longer receiving security updates ("end-of-life") are not considered valid , even if that version is listed as supported by Django. User input must be sanitized ¶ Reports based on a failure to sani ... tize user input are not valid security vulnerabilities. It is the developer's responsibility to properly handle user input. This principle is explained ...
https://man.mtool.work/django/6.1/internals/security.html
フォーム API — Django 6.1 ドキュメント 8152
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » フォーム API ¶ このドキュメントについて このドキュメントでは、Django のフォーム API の詳細について説明します。このドキュメントを読む前に フォームにつ ... () を実装してください。具体的な使用方法は 互いに依存するフィールドをクリーニングして検証する を参照してください。 Form. is_valid () ¶ Form オブジェクトの主なタスクは、データの検証です。バインドされた Form インスタンスでは、 is_valid() メソッドを呼び出 ... "Hi there" , ... "contact_email" : "foo@example.com" , ... "urgent" : True , ... } >>> f = ContactForm ( data ) >>> f . is_valid () True Let's try with some invalid data. In this case, subject is blank (an error, because all fields are required by def ... ault) and contact_email is not a valid email address: >>> data = { ... "subject" : "" , ... "message" : "Hi there" , ... "contact_email" : "invalid email address ...
https://man.mtool.work/django/6.1/ref/forms/api.html
Django のセキュリティポリシー — Django 6.1 ドキュメント 8036
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django のセキュリティポリシー ¶ Django の開発チームは、セキュリティ関連の問題の責任ある報告と開示に強くコミットしています。そのため、私たちはその理想 ... ll make those assessments. Extensive upfront analysis makes triage slower, not faster. If the team confirms the issue is a valid vulnerability, they will follow up and welcome further detail at that stage. If you have identified multiple potential iss ... when Django is run on a version of Python that is no longer receiving security updates ("end-of-life") are not considered valid , even if that version is listed as supported by Django. User input must be sanitized ¶ Reports based on a failure to sani ... tize user input are not valid security vulnerabilities. It is the developer's responsibility to properly handle user input. This principle is explained ...
https://man.mtool.work/django/6.1/internals/security.html
フォームセット (Formset) — Django 6.1 ドキュメント 8036
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » フォームセット (Formset) ¶ class BaseFormSet [ソース] ¶ フォームセットは、同じページで複数のフォームを扱うための抽象レイヤーです。データグリッドに例 ... は、実際には制限がないと見なせるでしょう。 By default, max_num only affects how many forms are displayed and does not affect validation. If validate_max=True is passed to the formset_factory() , then max_num will affect validation. See validate_max . イ ... "form-INITIAL_FORMS" : "0" , ... } >>> formset = ArticleFormSet ( data ) >>> len ( formset . forms ) 1500 >>> formset . is_valid () False >>> formset . non_form_errors () ['Please submit at most 1000 forms.'] absolute_max が None の場合、デフォルトは ... ォームセットのバリデーション ¶ フォームセットでのバリデーションは通常の Form とほとんど同じです。フォームセットには便利な is_valid メソッドがあり、フォームセット内のすべてのフォームを検証できます: >>> from django.forms import formset_factory >>> from my ...
https://man.mtool.work/django/6.1/topics/forms/formsets.html
Django 2.2.23 リリースノート — Django 6.1 ドキュメント 7593
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 2.2.23 リリースノート ¶ May 13, 2021 Django 2.2.23 fixes a regression in 2.2.21. バグ修正 ¶ Fixed a regression in Django 2.2.21 where saving ... FileField would raise a SuspiciousFileOperation even when a custom upload_to returns a valid file path ( #32718 ). 目次 Django 2.2.23 リリースノート バグ修正 前のトピックへ Django 2.2.24 リリースノート 次のトピックへ ... キーワード regression リリースノート fixes バグ 修正 Fixed saving FileField raise SuspiciousFileOperation even custom upload valid path クイック検索 Last update: 2026年10月09日 « previous | up | next » ...
https://man.mtool.work/django/6.1/releases/2.2.23.html
Django 3.1.11 リリースノート — Django 6.1 ドキュメント 7593
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 3.1.11 リリースノート ¶ May 13, 2021 Django 3.1.11 fixes a regression in 3.1.9. バグ修正 ¶ Fixed a regression in Django 3.1.9 where saving Fi ... leField would raise a SuspiciousFileOperation even when a custom upload_to returns a valid file path ( #32718 ). 目次 Django 3.1.11 リリースノート バグ修正 前のトピックへ Django 3.1.12 リリースノート 次のトピックへ ... キーワード regression リリースノート fixes バグ 修正 Fixed saving FileField raise SuspiciousFileOperation even custom upload valid path クイック検索 Last update: 2026年10月09日 « previous | up | next » ...
https://man.mtool.work/django/6.1/releases/3.1.11.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT