1
0
mirror of https://github.com/django/django.git synced 2025-10-10 15:29:11 +00:00

Added backticks to email addresses in docs.

This commit is contained in:
Mariusz Felisiak 2025-09-17 22:23:57 +02:00 committed by GitHub
parent cebbd5a6ad
commit f8d2610d94
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 19 additions and 17 deletions

View File

@ -56,8 +56,9 @@ I think I've found a security problem! What should I do?
======================================================== ========================================================
If you think you've found a security problem with Django, please send a message If you think you've found a security problem with Django, please send a message
to security@djangoproject.com. This is a private list only open to long-time, to ``security@djangoproject.com``. This is a private list only open to
highly trusted Django developers, and its archives are not publicly readable. long-time, highly trusted Django developers, and its archives are not publicly
readable.
Due to the sensitive nature of security issues, we ask that if you think you Due to the sensitive nature of security issues, we ask that if you think you
have found a security problem, *please* don't post a message on the forum, the have found a security problem, *please* don't post a message on the forum, the

View File

@ -149,10 +149,10 @@ If you haven't set up backups for your database, do it right now!
If your site sends emails, these values need to be set correctly. If your site sends emails, these values need to be set correctly.
By default, Django sends email from webmaster@localhost and root@localhost. By default, Django sends email from ``webmaster@localhost`` and
However, some mail providers reject email from these addresses. To use ``root@localhost``. However, some mail providers reject email from these
different sender addresses, modify the :setting:`DEFAULT_FROM_EMAIL` and addresses. To use different sender addresses, modify the
:setting:`SERVER_EMAIL` settings. :setting:`DEFAULT_FROM_EMAIL` and :setting:`SERVER_EMAIL` settings.
:setting:`STATIC_ROOT` and :setting:`STATIC_URL` :setting:`STATIC_ROOT` and :setting:`STATIC_URL`
------------------------------------------------ ------------------------------------------------

View File

@ -37,7 +37,7 @@ caused the error.
documentation </ref/settings>` for a full list of email-related documentation </ref/settings>` for a full list of email-related
settings. settings.
By default, Django will send email from root@localhost. However, some mail By default, Django will send email from ``root@localhost``. However, some mail
providers reject all email from this address. To use a different sender providers reject all email from this address. To use a different sender
address, modify the :setting:`SERVER_EMAIL` setting. address, modify the :setting:`SERVER_EMAIL` setting.

View File

@ -5,7 +5,7 @@ Reporting bugs and requesting features
.. Important:: .. Important::
Please report security issues **only** to Please report security issues **only** to
security@djangoproject.com. This is a private list only open to ``security@djangoproject.com``. This is a private list only open to
long-time, highly trusted Django developers, and its archives are long-time, highly trusted Django developers, and its archives are
not public. For further details, please see :doc:`our security not public. For further details, please see :doc:`our security
policies </internals/security>`. policies </internals/security>`.

View File

@ -650,10 +650,11 @@ Now you're ready to actually put the release out there. To do this:
Django Forum. This should include a link to the announcement blog post. Django Forum. This should include a link to the announcement blog post.
#. If this is a security release, send a separate email to #. If this is a security release, send a separate email to
oss-security@lists.openwall.com. Provide a descriptive subject, for example, ``oss-security@lists.openwall.com``. Provide a descriptive subject, for
"Django" plus the issue title from the release notes (including CVE ID). The example, "Django" plus the issue title from the release notes (including CVE
message body should include the vulnerability details, for example, the ID). The message body should include the vulnerability details, for example,
announcement blog post text. Include a link to the announcement blog post. the announcement blog post text. Include a link to the announcement blog
post.
Post-release Post-release
============ ============

View File

@ -5,7 +5,7 @@ Mailing lists and Forum
.. Important:: .. Important::
Please report security issues **only** to Please report security issues **only** to
security@djangoproject.com. This is a private list only open to ``security@djangoproject.com``. This is a private list only open to
long-time, highly trusted Django developers, and its archives are long-time, highly trusted Django developers, and its archives are
not public. For further details, please see :doc:`our security not public. For further details, please see :doc:`our security
policies </internals/security>`. policies </internals/security>`.

View File

@ -226,8 +226,8 @@ both appearing in the "To:"::
["john@example.com", "jane@example.com"], ["john@example.com", "jane@example.com"],
) )
This sends a message to john@example.com and jane@example.com, with them both This sends a message to ``john@example.com`` and ``jane@example.com``, with
receiving a separate email:: them both receiving a separate email::
datatuple = ( datatuple = (
("Subject", "Message.", "from@example.com", ["john@example.com"]), ("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. be printed as the first bit of the email message.
Here's an example view that takes a ``subject``, ``message`` and ``from_email`` 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 from the request's POST data, sends that to ``admin@example.com`` and redirects
"/contact/thanks/" when it's done:: to "/contact/thanks/" when it's done::
from django.core.mail import send_mail from django.core.mail import send_mail
from django.http import HttpResponse, HttpResponseRedirect from django.http import HttpResponse, HttpResponseRedirect