diff options
author | Bruno Sarlo <bruno@bruno-laptop.(none)> | 2009-07-20 02:28:32 -0300 |
---|---|---|
committer | Bruno Sarlo <bruno@bruno-laptop.(none)> | 2009-07-20 02:28:32 -0300 |
commit | ae8e348456df4cf94c7a8cb5500f50660266be54 (patch) | |
tree | a094870d4f4b73c21cbd9dce87144709a93ffcbc /settings.py | |
parent | f2339e8c1149d70c83df129183f3954b6bdcc7a9 (diff) | |
download | askbot-ae8e348456df4cf94c7a8cb5500f50660266be54.tar.gz askbot-ae8e348456df4cf94c7a8cb5500f50660266be54.tar.bz2 askbot-ae8e348456df4cf94c7a8cb5500f50660266be54.zip |
configured local settings file as CNPROG
Diffstat (limited to 'settings.py')
-rw-r--r-- | settings.py | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/settings.py b/settings.py index 7ad8524a..88dd0cc7 100644 --- a/settings.py +++ b/settings.py @@ -3,8 +3,8 @@ import os.path DEBUG = True
TEMPLATE_DEBUG = DEBUG
+ -SITE_SRC_ROOT = '/var/www/vhosts/cnprog'
#David Cramer debug toolbar
INTERNAL_IPS = ('127.0.0.1',)
DEBUG_TOOLBAR_PANELS = (
@@ -22,11 +22,6 @@ DEBUG_TOOLBAR_CONFIG = { "INTERCEPT_REDIRECTS":False
}
-#for logging
-import logging
-LOG_FILENAME = '/var/www/vhosts/cnprog/log/cnprog.log'
-logging.basicConfig(filename=LOG_FILENAME,level=logging.DEBUG,)
-
#for OpenID auth
ugettext = lambda s: s
LOGIN_URL = '/%s%s' % (ugettext('account/'), ugettext('signin/'))
@@ -144,3 +139,6 @@ INSTALLED_APPS = ( 'django_authopenid',
'debug_toolbar' ,
)
+#local configs +from settings_local import * + |