per page, with , order by , clip by
Results of 1 - 10 of about 15 for emails (0.004 sec.)
Django's Tasks framework 13584
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 often more than just turning HTTP requests into HTTP responses. For some functionality, it may be ... r 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 = subject , message = message , from_email = None , recipient_list = ema ... rator arguments: from django.core.mail import send_mail from django.tasks import task @task ( priority = 2 , queue_name = "emails" ) def email_users ( emails , subject , message ): return send_mail ( subject = subject , message = message , from_email = ... None , recipient_list = emails ) By convention, Tasks are defined in a tasks.py file, however this is not enforced. Task context Sometimes, the running T ...
https://man.mtool.work/django/6.1/topics/tasks.html
メールを送信する 10867
メールを送信する 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.core.mail モジュールにあります。 簡単な例 簡単なメール送信には send_mail() ... 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 ema ... mplate.loader import render_to_string # First, render the plain text content. text_content = render_to_string ( "templates/emails/my_email.txt" , context = { "my_variable" : 42 }, ) # Secondly, render the HTML content. html_content = render_to_string ( ...
https://man.mtool.work/django/6.1/topics/email.html
Django 6.0 release notes 10188
Django 6.0 release notes December 3, 2025 Welcome to Django 6.0! These release notes cover the new features , as well as some backwards incompatible changes you should be aware of when upgrading from Django 5.2 or earlier. We've begun the d ... in Tasks framework for running code outside the HTTP request–response cycle. This enables offloading work, such as sending emails or processing data, to background workers. The framework provides task definition, validation, queuing, and result handlin ... d using the task() decorator: from django.core.mail import send_mail from django.tasks import task @task def email_users ( emails , subject , message ): return send_mail ( subject , message , None , emails ) Once defined, tasks can be enqueued through ... a configured backend: email_users . enqueue ( emails = [ "user@example.com" ], subject = "You have a message" , message = "Hello there!" , ) Backends are configured via the TA ...
https://man.mtool.work/django/6.1/releases/6.0.html
Django 2.2.15 リリースノート 9857
Django 2.2.15 リリースノート August 3, 2020 Django 2.2.15 fixes two bugs in 2.2.14. バグ修正 Allowed setting the SameSite cookie flag in HttpResponse.delete_cookie() ( #31790 ). Fixed crash when sending emails to addresses with display name ...
https://man.mtool.work/django/6.1/releases/2.2.15.html
Django 3.0.9 リリースノート 9683
Django 3.0.9 リリースノート August 3, 2020 Django 3.0.9 では、3.0.8 におけるいくつかのバグを修正しました。 バグ修正 Allowed setting the SameSite cookie flag in HttpResponse.delete_cookie() ( #31790 ). Fixed crash when sending emails to addr ...
https://man.mtool.work/django/6.1/releases/3.0.9.html
Django 1.6 リリースノート 8324
Django 1.6 リリースノート 注釈 Dedicated to Malcolm Tredinnick On March 17, 2013, the Django project and the free software community lost a very dear friend and developer. Malcolm was a long-time contributor to Django, a model community mem ... cache effectively work on a per-session basis regardless of the CACHE_MIDDLEWARE_ANONYMOUS_ONLY setting. SEND_BROKEN_LINK_EMAILS setting CommonMiddleware used to provide basic reporting of broken links by email when SEND_BROKEN_LINK_EMAILS is set to T ... ering problems between CommonMiddleware and LocaleMiddleware , this feature was split out into a new middleware: BrokenLinkEmailsMiddleware . If you're relying on this feature, you should add 'django.middleware.common.BrokenLinkEmailsMiddleware' to you ... r MIDDLEWARE_CLASSES setting and remove SEND_BROKEN_LINK_EMAILS from your settings. _has_changed method on widgets If you defined your own form widgets and defined the _has_changed metho ...
https://man.mtool.work/django/6.1/releases/1.6.html
Django 1.3 リリースノート 7993
Django 1.3 リリースノート March 23, 2011 Django 1.3 へようこそ! Nearly a year in the making, Django 1.3 includes quite a few new features and plenty of bug fixes and improvements to existing features. These release notes cover the new featu ... ct. A number of logging handlers and logging calls have been added to Django's own code as well -- most notably, the error emails sent on an HTTP 500 server error are now handled as a logging activity. See the documentation on Django's logging interfac ... and mail_managers() はメッセージにHTMLコンテンツを簡単に添付できるようになりました。 EmailMessage now supports CC's. Error emails now include more of the detail and formatting of the debug server error page. simple_tag() now accepts a takes_context arg ...
https://man.mtool.work/django/6.1/releases/1.3.html
Django 1.4 リリースノート 7819
Django 1.4 リリースノート March 23, 2012 Django 1.4 へようこそ! These release notes cover the new features , as well as some backwards incompatible changes you'll want to be aware of when upgrading from Django 1.3 or older versions. We've a ... icially supports. Request exceptions are now always logged When we added logging support in Django in 1.3, the admin error email support was moved into the django.utils.log.AdminEmailHandler , attached to the 'django.request' logger. In order to mainta ... in the established behavior of error emails, the 'django.request' logger was called only when DEBUG was False . To increase the flexibility of error logging for reque ... file for new projects now includes a separate filter attached to django.utils.log.AdminEmailHandler to prevent admin error emails in DEBUG mode: LOGGING = { # ... "filters" : { "require_debug_false" : { "()" : "django.utils.log.RequireDebugFalse" , } } ...
https://man.mtool.work/django/6.1/releases/1.4.html
Migrating email to mailers 7645
Migrating email to mailers Django 6.1 introduced the MAILERS setting, replacing EMAIL_BACKEND and several other EMAIL_* settings. It also introduced mail.mailers for obtaining configured email backend instances, replacing mail.get_connectio ... This guide provides details on migrating existing projects to the new mailers functionality. All Django projects that send email should: If using any third-party packages that send email, verify their compatibility with MAILERS before making other chan ... natives to that package), you will need to remove MAILERS from your settings and replace it with the equivalent deprecated email settings until the package has been updated. If those errors are coming from your own code, see the other sections in this ... False should be updated to remove the fail_silently arg, as that is the default. If you use AdminEmailHandler or BrokenLinkEmailsMiddleware and rely on their previous fail-silent behavior, see Ignoring transient failures in error reporting . Migrating ...
https://man.mtool.work/django/6.1/howto/mailers-migration.html
How to release Django 7471
How to release Django このドキュメントでは、Django のリリース方法について説明しています。 これらの手順を変更した場合は、最新の情報を保ってください! ここでのポイントは、規定を設けるのではなく、説明的であることです。自由に効率化したり、変更し ... djangoproject.com as a "Site maintainer". Access to create a post in the Django Forum - Announcements category and to send emails to the django-announce mailing list. Access to the django-security repo in GitHub. Among other things, this provides acces ...
https://man.mtool.work/django/6.1/internals/howto-release-django.html
PREV 1 2 NEXT