From bf6effdfafc06e03f285e24c7fb9c44e2798b096 Mon Sep 17 00:00:00 2001 From: Gary Wilson Jr Date: Thu, 20 Sep 2007 07:13:32 +0000 Subject: [PATCH] Fixed #5148 -- Added link to `DEFAULT_FROM_EMAIL` setting in email documentation. Thanks, mcroydon. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6392 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/email.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/email.txt b/docs/email.txt index 17c2b2115a..bad4057f6e 100644 --- a/docs/email.txt +++ b/docs/email.txt @@ -225,7 +225,7 @@ optional and can be set at any time prior to calling the ``send()`` method. * ``from_email``: The sender's address. Both ``fred@example.com`` and ``Fred `` forms are legal. If omitted, the - ``DEFAULT_FROM_EMAIL`` setting is used. + `DEFAULT_FROM_EMAIL`_ setting is used. * ``to``: A list or tuple of recipient addresses. @@ -297,6 +297,8 @@ The class has the following methods: message.attach_file('/images/weather_map.png') +.. _DEFAULT_FROM_EMAIL: ../settings/#default-from-email + Sending alternative content types ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~