From 99168bbfeffd2f583a184a9d919a4874571900b7 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 14 Dec 2010 22:23:42 +0000 Subject: Enable translation code, and give quantumsummers the debug email. --- settings.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/settings.py b/settings.py index 8fdd049..1c756fa 100644 --- a/settings.py +++ b/settings.py @@ -35,13 +35,21 @@ ADS_STRUCT = ads_module.ads ADS_IMAGES_DIR = os.path.join(os.path.dirname(CONFIG_PATH), 'images') #ADS_IMAGES_DIR = "/var/www/ads.gentoo.org/htdocs/media" +## These are the translateable keys in the ads_struct. +TRANS_KEYS = ('html', 'title', 'text') + +#default language for ads +DEFAULT_ADS_LANG = 'en' + DEBUG = False TEMPLATE_DEBUG = DEBUG SEND_BROKEN_LINK_EMAILS = False +SERVER_EMAIL = 'root@gentoo.org' ## this will email errors when DEBUG=FALSE ADMINS = ( - ('Infrastructure', 'root@gentoo.org') + ('Infrastructure', 'root@gentoo.org'), + ('Matthew Summers', 'quantumsummers@gentoo.org') #('Your Name', 'your_email@domain.com'), ) -- cgit v1.2.3-65-gdbad