per page, with , order by , clip by
Results of 1 - 10 of about 172 for email (0.010 sec.)
メールを送信する — Django 6.1 ドキュメント 10870
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 ... also supports swapping in different delivery mechanisms: you can direct email to the console or a file during development and an SMTP server or email service provider in production. コードは django.co ... nd_mail send_mail ( "Subject here" , "Here is the message." , "from@example.com" , [ "to@example.com" ], ) When additional email sending functionality is needed, use the EmailMessage or EmailMultiAlternatives class. For example, to send a multipart em ... ext versions with a specific template and custom headers, you can use the following approach: from django.core.mail import EmailMultiAlternatives from django.template.loader import render_to_string # First, render the plain text content. text_content ...
https://man.mtool.work/django/6.1/topics/email.html
メールを送信する — Django 6.1 ドキュメント 10870
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 ... also supports swapping in different delivery mechanisms: you can direct email to the console or a file during development and an SMTP server or email service provider in production. コードは django.co ... nd_mail send_mail ( "Subject here" , "Here is the message." , "from@example.com" , [ "to@example.com" ], ) When additional email sending functionality is needed, use the EmailMessage or EmailMultiAlternatives class. For example, to send a multipart em ... ext versions with a specific template and custom headers, you can use the following approach: from django.core.mail import EmailMultiAlternatives from django.template.loader import render_to_string # First, render the plain text content. text_content ...
https://man.mtool.work/django/6.1/topics/email.html
Migrating email to mailers — Django 6.1 ドキュメント 10342
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Migrating email to mailers ¶ Django 6.1 introduced the MAILERS setting, replacing EMAIL_BACKEND and several other EMAIL_* settings. It also introduc ... ed mail.mailers for obtaining configured email backend instances, replacing mail.get_connection() . A new using argument replaces the earlier connection in Django functi ... ons that send email. This guide provides details on migrating existing projects to the new mailers functionality. All Django projects that sen ... d email should: If using any third-party packages that send email, verify their compatibility with MAILERS before making other cha ...
https://man.mtool.work/django/6.1/howto/mailers-migration.html
Migrating email to mailers — Django 6.1 ドキュメント 10308
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Migrating email to mailers ¶ Django 6.1 introduced the MAILERS setting, replacing EMAIL_BACKEND and several other EMAIL_* settings. It also introduc ... ed mail.mailers for obtaining configured email backend instances, replacing mail.get_connection() . A new using argument replaces the earlier connection in Django functi ... ons that send email. This guide provides details on migrating existing projects to the new mailers functionality. All Django projects that sen ... d email should: If using any third-party packages that send email, verify their compatibility with MAILERS before making other cha ...
https://man.mtool.work/django/6.1/howto/mailers-migration.html
フォーム API — Django 6.1 ドキュメント 9117
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » フォーム API ¶ このドキュメントについて このドキュメントでは、Django のフォーム API の詳細について説明します。このドキュメントを読む前に フォームにつ ... トラクタの最初のパラメータとして渡します。 >>> data = { ... "subject" : "hello" , ... "message" : "Hi there" , ... "contact_email" : "foo@example.com" , ... "urgent" : True , ... } >>> f = ContactForm ( data ) この辞書では、キーは Form クラスの属性に対 ... 効であるかどうかを示すブール値を返します。 >>> data = { ... "subject" : "hello" , ... "message" : "Hi there" , ... "contact_email" : "foo@example.com" , ... "urgent" : True , ... } >>> f = ContactForm ( data ) >>> f . is_valid () True Let's try with so ... me 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" : "" , ... "message" : "Hi there" , ... "contact_email" : "invali ...
https://man.mtool.work/django/6.1/ref/forms/api.html
フォーム API — Django 6.1 ドキュメント 9117
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » フォーム API ¶ このドキュメントについて このドキュメントでは、Django のフォーム API の詳細について説明します。このドキュメントを読む前に フォームにつ ... トラクタの最初のパラメータとして渡します。 >>> data = { ... "subject" : "hello" , ... "message" : "Hi there" , ... "contact_email" : "foo@example.com" , ... "urgent" : True , ... } >>> f = ContactForm ( data ) この辞書では、キーは Form クラスの属性に対 ... 効であるかどうかを示すブール値を返します。 >>> data = { ... "subject" : "hello" , ... "message" : "Hi there" , ... "contact_email" : "foo@example.com" , ... "urgent" : True , ... } >>> f = ContactForm ( data ) >>> f . is_valid () True Let's try with so ... me 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" : "" , ... "message" : "Hi there" , ... "contact_email" : "invali ...
https://man.mtool.work/django/6.1/ref/forms/api.html
設定 — Django 6.1 ドキュメント 8307
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 設定 ¶ 警告 設定を上書きするとき、特にデフォルト値が空でないリストや辞書の場合、例えば STATICFILES_FINDERS などは、注意してください。Djangoの使用した ... す。 ADMINS ¶ デフォルト値: [] (空のリスト) コードエラー通知を受け取る全ての人々のリストです。 DEBUG=False が設定され、 AdminEmailHandler が LOGGING に設定されている場合(デフォルトで設定されています)、Djangoはこれらの人々にリクエスト/レスポンスサイクル ... で発生した例外の詳細をメールで送信します。 Each item in the list should be an email address string. Example: ADMINS = [ "john@example.com" , '"Ng, Mary" <mary@example.com>' ] To safely build an address with ... a display name from variable content, see Formatting email addresses , which recommends using Address over string formatting, but since this setting requires a list of strings, wrap ...
https://man.mtool.work/django/6.1/ref/settings.html
設定 — Django 6.1 ドキュメント 8307
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 設定 ¶ 警告 設定を上書きするとき、特にデフォルト値が空でないリストや辞書の場合、例えば STATICFILES_FINDERS などは、注意してください。Djangoの使用した ... す。 ADMINS ¶ デフォルト値: [] (空のリスト) コードエラー通知を受け取る全ての人々のリストです。 DEBUG=False が設定され、 AdminEmailHandler が LOGGING に設定されている場合(デフォルトで設定されています)、Djangoはこれらの人々にリクエスト/レスポンスサイクル ... で発生した例外の詳細をメールで送信します。 Each item in the list should be an email address string. Example: ADMINS = [ "john@example.com" , '"Ng, Mary" <mary@example.com>' ] To safely build an address with ... a display name from variable content, see Formatting email addresses , which recommends using Address over string formatting, but since this setting requires a list of strings, wrap ...
https://man.mtool.work/django/6.1/ref/settings.html
Django 6.1 release notes — Django 6.1 ドキュメント 7992
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 6.1 release notes ¶ August 5, 2026 Welcome to Django 6.1! These release notes cover the new features , as well as some backwards incompatible ... on does not trigger the pre_delete or post_delete signals. Mailers ¶ The new MAILERS setting supports configuring multiple email backends with different options, similar to existing mechanisms for CACHES , DATABASES , STORAGES , and TASKS : MAILERS = ... { "default" : { "BACKEND" : "django.core.mail.backends.smtp.EmailBackend" , "OPTIONS" : { "host" : "smtp.example.com" , "use_tls" : True }, }, "marketing" : { "BACKEND" : "example.third.pa ... rty.EmailBackend" , "OPTIONS" : { "region" : "africa-1" }, }, } You can select a mailer with the new using argument to email sending ...
https://man.mtool.work/django/6.1/releases/6.1.html
Django 6.1 release notes — Django 6.1 ドキュメント 7992
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 6.1 release notes ¶ August 5, 2026 Welcome to Django 6.1! These release notes cover the new features , as well as some backwards incompatible ... on does not trigger the pre_delete or post_delete signals. Mailers ¶ The new MAILERS setting supports configuring multiple email backends with different options, similar to existing mechanisms for CACHES , DATABASES , STORAGES , and TASKS : MAILERS = ... { "default" : { "BACKEND" : "django.core.mail.backends.smtp.EmailBackend" , "OPTIONS" : { "host" : "smtp.example.com" , "use_tls" : True }, }, "marketing" : { "BACKEND" : "example.third.pa ... rty.EmailBackend" , "OPTIONS" : { "region" : "africa-1" }, }, } You can select a mailer with the new using argument to email sending ...
https://man.mtool.work/django/6.1/releases/6.1.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT