per page, with , order by , clip by
Results of 1 - 10 of about 92 for send (0.005 sec.)
メールを送信する — Django 6.1 ドキュメント 12602
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 ... or email service provider in production. コードは django.core.mail モジュールにあります。 簡単な例 ¶ 簡単なメール送信には send_mail() を使用します。たとえば、プレーンテキストのメッセージを送信するには、次のようにします。 from django.core.mail import ... send_mail send_mail ( "Subject here" , "Here is the message." , "from@example.com" , [ "to@example.com" ], ) When additional em ... ail sending functionality is needed, use the EmailMessage or EmailMultiAlternatives class. For example, to send a multipart email t ...
https://man.mtool.work/django/6.1/topics/email.html
メールを送信する — Django 6.1 ドキュメント 12602
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 ... or email service provider in production. コードは django.core.mail モジュールにあります。 簡単な例 ¶ 簡単なメール送信には send_mail() を使用します。たとえば、プレーンテキストのメッセージを送信するには、次のようにします。 from django.core.mail import ... send_mail send_mail ( "Subject here" , "Here is the message." , "from@example.com" , [ "to@example.com" ], ) When additional em ... ail sending functionality is needed, use the EmailMessage or EmailMultiAlternatives class. For example, to send a multipart email t ...
https://man.mtool.work/django/6.1/topics/email.html
Migrating email to mailers — Django 6.1 ドキュメント 11913
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 ... instances, replacing mail.get_connection() . A new using argument replaces the earlier connection in Django functions that send email. This guide provides details on migrating existing projects to the new mailers functionality. All Django projects th ... at send email should: If using any third-party packages that send email, verify their compatibility with MAILERS before making oth ... USE_SSL , EMAIL_USE_TLS mail.get_connection() and the connection arguments to mail functions The fail_silently argument to send_mail() , send_mass_mail() , mail_admins() , mail_managers() , and EmailMessage.send() The auth_user and auth_password argu ...
https://man.mtool.work/django/6.1/howto/mailers-migration.html
Migrating email to mailers — Django 6.1 ドキュメント 11873
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 ... instances, replacing mail.get_connection() . A new using argument replaces the earlier connection in Django functions that send email. This guide provides details on migrating existing projects to the new mailers functionality. All Django projects th ... at send email should: If using any third-party packages that send email, verify their compatibility with MAILERS before making oth ... USE_SSL , EMAIL_USE_TLS mail.get_connection() and the connection arguments to mail functions The fail_silently argument to send_mail() , send_mass_mail() , mail_admins() , mail_managers() , and EmailMessage.send() The auth_user and auth_password argu ...
https://man.mtool.work/django/6.1/howto/mailers-migration.html
シグナル — Django 6.1 ドキュメント 9193
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » シグナル ¶ Django には "シグナルディスパッチャ" があり、フレームワークの他の場所でアクションが発生したときに、ほかのアプリケーションが通知を受けるの ... を受けることができます: from django.apps import AppConfig from django.core.signals import setting_changed def my_receiver ( sender , ** kwargs ): print ( "Setting changed!" ) class MyAppConfig ( AppConfig ): ... def ready ( self ): setting_changed . c ... 関数が呼び出されます。シグナルのすべてのレシーバ関数は、登録された順番に1つずつ呼び出されます。 Signal. connect ( receiver , sender = None , weak = True , dispatch_uid = None ) [ソース] ¶ パラメータ : receiver -- このシグナルに接続されるコールバック関数 ... です。詳しくは レシーバ関数 を参照してください。 sender -- シグナルを受信する送信者を指定します。詳しくは 特定の送信者によって送られたシグナルに接続する を参照してください。 we ...
https://man.mtool.work/django/6.1/topics/signals.html
シグナル — Django 6.1 ドキュメント 9140
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » シグナル ¶ Django には "シグナルディスパッチャ" があり、フレームワークの他の場所でアクションが発生したときに、ほかのアプリケーションが通知を受けるの ... を受けることができます: from django.apps import AppConfig from django.core.signals import setting_changed def my_receiver ( sender , ** kwargs ): print ( "Setting changed!" ) class MyAppConfig ( AppConfig ): ... def ready ( self ): setting_changed . c ... 関数が呼び出されます。シグナルのすべてのレシーバ関数は、登録された順番に1つずつ呼び出されます。 Signal. connect ( receiver , sender = None , weak = True , dispatch_uid = None ) [ソース] ¶ パラメータ : receiver -- このシグナルに接続されるコールバック関数 ... です。詳しくは レシーバ関数 を参照してください。 sender -- シグナルを受信する送信者を指定します。詳しくは 特定の送信者によって送られたシグナルに接続する を参照してください。 we ...
https://man.mtool.work/django/6.1/topics/signals.html
Django's Tasks framework — Django 6.1 ドキュメント 7853
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django's Tasks framework ¶ New in Django 6.0: For older Django versions, the django-tasks backport is available. For a web application, there's ofte ... quests fast, reduces latency, and improves the user experience. For example, a user shouldn't have to wait for an email to send before their page finishes loading. Django's Tasks framework makes it easy to define and enqueue such work. It does not pr ... Tasks ¶ Tasks are defined using the django.tasks.task() decorator on a module-level function: from django.core.mail import send_mail from django.tasks import task @task def email_users ( emails , subject , message ): return send_mail ( subject = subj ... ator is a Task instance. Task attributes can be customized via the @task decorator arguments: from django.core.mail import send_mail from django.tasks import task @task ( priority = 2 , queue_name = "emails" ) def email_users ( emails , subject , mes ...
https://man.mtool.work/django/6.1/topics/tasks.html
Django's Tasks framework — Django 6.1 ドキュメント 7853
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django's Tasks framework ¶ New in Django 6.0: For older Django versions, the django-tasks backport is available. For a web application, there's ofte ... quests fast, reduces latency, and improves the user experience. For example, a user shouldn't have to wait for an email to send before their page finishes loading. Django's Tasks framework makes it easy to define and enqueue such work. It does not pr ... Tasks ¶ Tasks are defined using the django.tasks.task() decorator on a module-level function: from django.core.mail import send_mail from django.tasks import task @task def email_users ( emails , subject , message ): return send_mail ( subject = subj ... ator is a Task instance. Task attributes can be customized via the @task decorator arguments: from django.core.mail import send_mail from django.tasks import task @task ( priority = 2 , queue_name = "emails" ) def email_users ( emails , subject , mes ...
https://man.mtool.work/django/6.1/topics/tasks.html
Django 6.1 release notes — Django 6.1 ドキュメント 7800
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 ... y.EmailBackend" , "OPTIONS" : { "region" : "africa-1" }, }, } You can select a mailer with the new using argument to email sending functions, or obtain an email backend instance with mail.mailers[alias] . See メールを送信する for more details. MAILER ... nd names and argument choices. The loaddata command now calls m2m_changed signals with raw=True when loading fixtures. The sendtestemail command now supports a --using option to specify the MAILERS alias. モデル ¶ QuerySet.in_bulk() now supports chai ... Under ASGI, RemoteUserMiddleware no longer prefixes HTTP_ when looking up custom values in request.META . For example, to send -H "AuthUser: ..." , the header attribute should be HTTP_AUTHUSER . This restores the behavior prior to Django 5.2. (The d ...
https://man.mtool.work/django/6.1/releases/6.1.html
Django 6.1 release notes — Django 6.1 ドキュメント 7800
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 ... y.EmailBackend" , "OPTIONS" : { "region" : "africa-1" }, }, } You can select a mailer with the new using argument to email sending functions, or obtain an email backend instance with mail.mailers[alias] . See メールを送信する for more details. MAILER ... nd names and argument choices. The loaddata command now calls m2m_changed signals with raw=True when loading fixtures. The sendtestemail command now supports a --using option to specify the MAILERS alias. モデル ¶ QuerySet.in_bulk() now supports chai ... Under ASGI, RemoteUserMiddleware no longer prefixes HTTP_ when looking up custom values in request.META . For example, to send -H "AuthUser: ..." , the header attribute should be HTTP_AUTHUSER . This restores the behavior prior to Django 5.2. (The d ...
https://man.mtool.work/django/6.1/releases/6.1.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT