diff options
| author | Gary Wilson Jr <gary.wilson@gmail.com> | 2007-09-20 07:19:10 +0000 |
|---|---|---|
| committer | Gary Wilson Jr <gary.wilson@gmail.com> | 2007-09-20 07:19:10 +0000 |
| commit | 2fea878213ede5bd4603f7cd18afa5f81516e82c (patch) | |
| tree | 0963049ad13f4225db8cdb1a49bf18c75cfccc8a | |
| parent | bf6effdfafc06e03f285e24c7fb9c44e2798b096 (diff) | |
Made the links to settings consistent with the others by not including the word "setting" in the link.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6393 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | docs/email.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/email.txt b/docs/email.txt index bad4057f6e..2bad79ce33 100644 --- a/docs/email.txt +++ b/docs/email.txt @@ -100,31 +100,31 @@ mail_admins() ============= ``django.core.mail.mail_admins()`` is a shortcut for sending an e-mail to the -site admins, as defined in the `ADMINS setting`_. Here's the definition:: +site admins, as defined in the `ADMINS`_ setting. Here's the definition:: mail_admins(subject, message, fail_silently=False) ``mail_admins()`` prefixes the subject with the value of the -`EMAIL_SUBJECT_PREFIX setting`_, which is ``"[Django] "`` by default. +`EMAIL_SUBJECT_PREFIX`_ setting, which is ``"[Django] "`` by default. -The "From:" header of the e-mail will be the value of the `SERVER_EMAIL setting`_. +The "From:" header of the e-mail will be the value of the `SERVER_EMAIL`_ setting. This method exists for convenience and readability. -.. _ADMINS setting: ../settings/#admins -.. _EMAIL_SUBJECT_PREFIX setting: ../settings/#email-subject-prefix -.. _SERVER_EMAIL setting: ../settings/#server-email +.. _ADMINS: ../settings/#admins +.. _EMAIL_SUBJECT_PREFIX: ../settings/#email-subject-prefix +.. _SERVER_EMAIL: ../settings/#server-email mail_managers() function ======================== ``django.core.mail.mail_managers()`` is just like ``mail_admins()``, except it -sends an e-mail to the site managers, as defined in the `MANAGERS setting`_. +sends an e-mail to the site managers, as defined in the `MANAGERS`_ setting. Here's the definition:: mail_managers(subject, message, fail_silently=False) -.. _MANAGERS setting: ../settings/#managers +.. _MANAGERS: ../settings/#managers Examples ======== |
