per page, with , order by , clip by
Results of 1 - 10 of about 104 for error message (0.016 sec.)
error (212), message (166)
フォーム API — Django 6.1 ドキュメント 17674
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » フォーム API ¶ このドキュメントについて このドキュメントでは、Django のフォーム API の詳細について説明します。このドキュメントを読む前に フォームにつ ... 、辞書型のデータを Form クラスのコンストラクタの最初のパラメータとして渡します。 >>> data = { ... "subject" : "hello" , ... "message" : "Hi there" , ... "contact_email" : "foo@example.com" , ... "urgent" : True , ... } >>> f = ContactForm ( data ) この辞書 ... ドを呼び出して検証を実行し、データが有効であるかどうかを示すブール値を返します。 >>> data = { ... "subject" : "hello" , ... "message" : "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 default) and contact_email is not a valid email address: >>> data = { ... "subject" : ...
https://man.mtool.work/django/6.1/ref/forms/api.html
フォーム API — Django 6.1 ドキュメント 17610
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » フォーム API ¶ このドキュメントについて このドキュメントでは、Django のフォーム API の詳細について説明します。このドキュメントを読む前に フォームにつ ... 、辞書型のデータを Form クラスのコンストラクタの最初のパラメータとして渡します。 >>> data = { ... "subject" : "hello" , ... "message" : "Hi there" , ... "contact_email" : "foo@example.com" , ... "urgent" : True , ... } >>> f = ContactForm ( data ) この辞書 ... ドを呼び出して検証を実行し、データが有効であるかどうかを示すブール値を返します。 >>> data = { ... "subject" : "hello" , ... "message" : "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 default) and contact_email is not a valid email address: >>> data = { ... "subject" : ...
https://man.mtool.work/django/6.1/ref/forms/api.html
メッセージフレームワーク — Django 6.1 ドキュメント 16799
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » メッセージフレームワーク ¶ Web アプリケーションでは非常に一般的に、フォームやその他のユーザーインプットのプロセスの後、ユーザーに向けて一過性の通知メ ... クエスト) 内で表示するために、これらを検索することを可能にします。全てのメッセージは、優先順位 (たとえば info 、 warning 、 error ) を決定づける特定の level でタグづけされます。 メッセージを有効にする ¶ メッセージは、 ミドルウェア クラスと、それに対応す ... によって生成されたデフォルトの settings.py は、メッセージ機能を有効にするために必要な設定を全て含んでいます: 'django.contrib.messages' は、 INSTALLED_APPS の中にあります。 MIDDLEWARE は 'django.contrib.sessions.middleware.SessionMiddleware' と 'django.con ... trib.messages.middleware.MessageMiddleware' を含みます。 デフォルトの ストレージバックエンド は sessions に依存します。そのため Session ...
https://man.mtool.work/django/6.1/ref/contrib/messages.html
メッセージフレームワーク — Django 6.1 ドキュメント 16799
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » メッセージフレームワーク ¶ Web アプリケーションでは非常に一般的に、フォームやその他のユーザーインプットのプロセスの後、ユーザーに向けて一過性の通知メ ... クエスト) 内で表示するために、これらを検索することを可能にします。全てのメッセージは、優先順位 (たとえば info 、 warning 、 error ) を決定づける特定の level でタグづけされます。 メッセージを有効にする ¶ メッセージは、 ミドルウェア クラスと、それに対応す ... によって生成されたデフォルトの settings.py は、メッセージ機能を有効にするために必要な設定を全て含んでいます: 'django.contrib.messages' は、 INSTALLED_APPS の中にあります。 MIDDLEWARE は 'django.contrib.sessions.middleware.SessionMiddleware' と 'django.con ... trib.messages.middleware.MessageMiddleware' を含みます。 デフォルトの ストレージバックエンド は sessions に依存します。そのため Session ...
https://man.mtool.work/django/6.1/ref/contrib/messages.html
制約 (Constraint) リファレンス — Django 6.1 ドキュメント 16731
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 制約 (Constraint) リファレンス ¶ このモジュールで定義されたクラスはデータベース制約を作成します。これらはモデルの Meta.constraints オプションで追加さ ... デーション 制約は モデルのバリデーション の間にチェックされます。 BaseConstraint ¶ class BaseConstraint ( * name , violation_error_code = None , violation_error_message = None ) [ソース] ¶ すべての制約の基底クラスです。サブクラスは constraint_sql() , cr ... メータは以下の通りです: name ¶ BaseConstraint. name ¶ 制約の名前。制約には常に一意な名前を指定する必要があります。 violation_error_code ¶ BaseConstraint. violation_error_code ¶ モデルのバリデーション 中に ValidationError が発生した場合に使用されるエラー ... コードです。デフォルトは None です。 violation_error_message ¶ BaseConstraint. violation_error_message ¶ モデルのバリデーション の実行中に ValidationError が発生した場合に表示されるエ ...
https://man.mtool.work/django/6.1/ref/models/constraints.html
制約 (Constraint) リファレンス — Django 6.1 ドキュメント 16541
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 制約 (Constraint) リファレンス ¶ このモジュールで定義されたクラスはデータベース制約を作成します。これらはモデルの Meta.constraints オプションで追加さ ... デーション 制約は モデルのバリデーション の間にチェックされます。 BaseConstraint ¶ class BaseConstraint ( * name , violation_error_code = None , violation_error_message = None ) [ソース] ¶ すべての制約の基底クラスです。サブクラスは constraint_sql() , cr ... メータは以下の通りです: name ¶ BaseConstraint. name ¶ 制約の名前。制約には常に一意な名前を指定する必要があります。 violation_error_code ¶ BaseConstraint. violation_error_code ¶ モデルのバリデーション 中に ValidationError が発生した場合に使用されるエラー ... コードです。デフォルトは None です。 violation_error_message ¶ BaseConstraint. violation_error_message ¶ モデルのバリデーション の実行中に ValidationError が発生した場合に表示されるエ ...
https://man.mtool.work/django/6.1/ref/models/constraints.html
メールを送信する — Django 6.1 ドキュメント 16194
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » メールを送信する ¶ Django provides wrappers for Python's email and smtplib modules to simplify composing and sending email. Django's email framework ... ッセージを送信するには、次のようにします。 from django.core.mail import send_mail send_mail ( "Subject here" , "Here is the message." , "from@example.com" , [ "to@example.com" ], ) When additional email sending functionality is needed, use the EmailMessa ... s printed to the console as a development aid (for projects created with startproject ) or results in a MailerDoesNotExist error (when the MAILERS setting isn't defined). Use the MAILERS setting to tell Django how to send email. For example, to send t ... o substitute Django's memory email backend . This prevents test cases from sending real email and gives them access to the messages that would have been sent. 開発用にメールを設定する discusses some other approaches. Changed in Django 6.1: In earlier re ...
https://man.mtool.work/django/6.1/topics/email.html
メールを送信する — Django 6.1 ドキュメント 16194
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » メールを送信する ¶ Django provides wrappers for Python's email and smtplib modules to simplify composing and sending email. Django's email framework ... ッセージを送信するには、次のようにします。 from django.core.mail import send_mail send_mail ( "Subject here" , "Here is the message." , "from@example.com" , [ "to@example.com" ], ) When additional email sending functionality is needed, use the EmailMessa ... s printed to the console as a development aid (for projects created with startproject ) or results in a MailerDoesNotExist error (when the MAILERS setting isn't defined). Use the MAILERS setting to tell Django how to send email. For example, to send t ... o substitute Django's memory email backend . This prevents test cases from sending real email and gives them access to the messages that would have been sent. 開発用にメールを設定する discusses some other approaches. Changed in Django 6.1: In earlier re ...
https://man.mtool.work/django/6.1/topics/email.html
Django 1.7 リリースノート — Django 6.1 ドキュメント 16108
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.7 リリースノート ¶ September 2, 2014 Django 1.7 へようこそ! このリリースノートでは、 バージョン 1.7 の新機能 と、Django 1.6 以前からアップグ ... ving the wrong value when it didn't match the current time zone on the server. In addition, the widgets now display a help message when the browser and server time zone are different, to clarify how the value inserted in the field will be interpreted. U ... more information about both custom lookups and transforms refer to the custom lookups documentation. Improvements to Form error handling ¶ Form.add_error() ¶ Previously there were two main patterns for handling errors in forms: Raising a ValidationEr ... ror from within certain functions (e.g. Field.clean() , Form.clean_<fieldname>() , or Form.clean() for non-field errors.) Fiddling with Form._errors when targeting a specific field in Form.clean() or adding errors from outside of a "clean" m ...
https://man.mtool.work/django/6.1/releases/1.7.html
Django 1.7 リリースノート — Django 6.1 ドキュメント 16108
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.7 リリースノート ¶ September 2, 2014 Django 1.7 へようこそ! このリリースノートでは、 バージョン 1.7 の新機能 と、Django 1.6 以前からアップグ ... ving the wrong value when it didn't match the current time zone on the server. In addition, the widgets now display a help message when the browser and server time zone are different, to clarify how the value inserted in the field will be interpreted. U ... more information about both custom lookups and transforms refer to the custom lookups documentation. Improvements to Form error handling ¶ Form.add_error() ¶ Previously there were two main patterns for handling errors in forms: Raising a ValidationEr ... ror from within certain functions (e.g. Field.clean() , Form.clean_<fieldname>() , or Form.clean() for non-field errors.) Fiddling with Form._errors when targeting a specific field in Form.clean() or adding errors from outside of a "clean" m ...
https://man.mtool.work/django/6.1/releases/1.7.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT