summaryrefslogtreecommitdiff
path: root/docs/topics
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2025-09-17 22:23:57 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2025-09-17 22:24:37 +0200
commitfd6ef87b25d38bbc73a964f5b03fcb79de04b487 (patch)
tree3615d3ad3dcc84883b533aaf7be1ebee4e7d1df1 /docs/topics
parent16ae193550115704c1269a5317fa86352f0b0d6d (diff)
[6.0.x] Added backticks to email addresses in docs.
Backport of f8d2610d94333a8b0fd283851a6cf4ac2e2e2435 from main
Diffstat (limited to 'docs/topics')
-rw-r--r--docs/topics/email.txt8
1 files changed, 4 insertions, 4 deletions
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