From d3205e3e2eb0202e7bdffaee3e2a80ad444b1ca2 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Wed, 17 Dec 2014 22:51:42 +0100 Subject: Deprecated TEMPLATE_DIRS. --- docs/ref/contrib/sites.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/ref/contrib') 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 `), you could +simply farm out to the template system like so:: from django.core.mail import send_mail from django.template import loader, Context -- cgit v1.3