From fd6ef87b25d38bbc73a964f5b03fcb79de04b487 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Wed, 17 Sep 2025 22:23:57 +0200 Subject: [6.0.x] Added backticks to email addresses in docs. Backport of f8d2610d94333a8b0fd283851a6cf4ac2e2e2435 from main --- docs/topics/email.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/topics') diff --git a/docs/topics/email.txt b/docs/topics/email.txt index d8a582c181..6ce30a67d4 100644 --- a/docs/topics/email.txt +++ b/docs/topics/email.txt @@ -226,8 +226,8 @@ both appearing in the "To:":: ["john@example.com", "jane@example.com"], ) -This sends a message to john@example.com and jane@example.com, with them both -receiving a separate email:: +This sends a message to ``john@example.com`` and ``jane@example.com``, with +them both receiving a separate email:: datatuple = ( ("Subject", "Message.", "from@example.com", ["john@example.com"]), @@ -253,8 +253,8 @@ If a ``message`` contains headers at the start of the string, the headers will be printed as the first bit of the email message. Here's an example view that takes a ``subject``, ``message`` and ``from_email`` -from the request's POST data, sends that to admin@example.com and redirects to -"/contact/thanks/" when it's done:: +from the request's POST data, sends that to ``admin@example.com`` and redirects +to "/contact/thanks/" when it's done:: from django.core.mail import send_mail from django.http import HttpResponse, HttpResponseRedirect -- cgit v1.3