Django

Code

Changeset 6393

Show
Ignore:
Timestamp:
09/20/07 02:19:10 (1 year ago)
Author:
gwilson
Message:

Made the links to settings consistent with the others by not including the word "setting" in the link.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/email.txt

    r6392 r6393  
    101101 
    102102``django.core.mail.mail_admins()`` is a shortcut for sending an e-mail to the 
    103 site admins, as defined in the `ADMINS setting`_. Here's the definition:: 
     103site admins, as defined in the `ADMINS`_ setting. Here's the definition:: 
    104104 
    105105    mail_admins(subject, message, fail_silently=False) 
    106106 
    107107``mail_admins()`` prefixes the subject with the value of the 
    108 `EMAIL_SUBJECT_PREFIX setting`_, which is ``"[Django] "`` by default. 
    109  
    110 The "From:" header of the e-mail will be the value of the `SERVER_EMAIL setting`_
     108`EMAIL_SUBJECT_PREFIX`_ setting, which is ``"[Django] "`` by default. 
     109 
     110The "From:" header of the e-mail will be the value of the `SERVER_EMAIL`_ setting
    111111 
    112112This method exists for convenience and readability. 
    113113 
    114 .. _ADMINS setting: ../settings/#admins 
    115 .. _EMAIL_SUBJECT_PREFIX setting: ../settings/#email-subject-prefix 
    116 .. _SERVER_EMAIL setting: ../settings/#server-email 
     114.. _ADMINS: ../settings/#admins 
     115.. _EMAIL_SUBJECT_PREFIX: ../settings/#email-subject-prefix 
     116.. _SERVER_EMAIL: ../settings/#server-email 
    117117 
    118118mail_managers() function 
     
    120120 
    121121``django.core.mail.mail_managers()`` is just like ``mail_admins()``, except it 
    122 sends an e-mail to the site managers, as defined in the `MANAGERS setting`_
     122sends an e-mail to the site managers, as defined in the `MANAGERS`_ setting
    123123Here's the definition:: 
    124124 
    125125    mail_managers(subject, message, fail_silently=False) 
    126126 
    127 .. _MANAGERS setting: ../settings/#managers 
     127.. _MANAGERS: ../settings/#managers 
    128128 
    129129Examples