diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2025-09-17 22:23:57 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-17 22:23:57 +0200 |
| commit | f8d2610d94333a8b0fd283851a6cf4ac2e2e2435 (patch) | |
| tree | ed2f2ba5c50ddfc6afd3c2cde75a8b48dc31e45c /docs/topics/email.txt | |
| parent | cebbd5a6ad6b065ee2ea89fe7ded544b0bf48d12 (diff) | |
Added backticks to email addresses in docs.
Diffstat (limited to 'docs/topics/email.txt')
| -rw-r--r-- | docs/topics/email.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/topics/email.txt b/docs/topics/email.txt index a48e18a825..0f0e3bf276 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 |
