diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2014-12-17 22:51:42 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2014-12-28 17:02:30 +0100 |
| commit | d3205e3e2eb0202e7bdffaee3e2a80ad444b1ca2 (patch) | |
| tree | 11cc72ef84a3c35a5736de34b01bd52106fce08f /docs/ref/contrib | |
| parent | cf0fd65ed42d5d4f0585da413db4b1cf7c6b0d1a (diff) | |
Deprecated TEMPLATE_DIRS.
Diffstat (limited to 'docs/ref/contrib')
| -rw-r--r-- | docs/ref/contrib/sites.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/contrib/sites.txt b/docs/ref/contrib/sites.txt index b8dc7ef9ca..da7b73caed 100644 --- a/docs/ref/contrib/sites.txt +++ b/docs/ref/contrib/sites.txt @@ -209,8 +209,8 @@ subscribing to LJWorld.com alerts." Same goes for the email's message body. Note that an even more flexible (but more heavyweight) way of doing this would be to use Django's template system. Assuming Lawrence.com and LJWorld.com have -different template directories (:setting:`TEMPLATE_DIRS`), you could simply -farm out to the template system like so:: +different template directories (:setting:`DIRS <TEMPLATES-DIRS>`), you could +simply farm out to the template system like so:: from django.core.mail import send_mail from django.template import loader, Context |
