diff options
author | Bruno Sarlo <bruno@bruno-laptop.(none)> | 2009-07-20 02:28:08 -0300 |
---|---|---|
committer | Bruno Sarlo <bruno@bruno-laptop.(none)> | 2009-07-20 02:28:08 -0300 |
commit | 6173faa39144057fcda9f649e7b8201565d75192 (patch) | |
tree | a094870d4f4b73c21cbd9dce87144709a93ffcbc /settings.py | |
parent | ac7a1576049047a89da1d2d9bdb24321f8a85444 (diff) | |
download | askbot-6173faa39144057fcda9f649e7b8201565d75192.tar.gz askbot-6173faa39144057fcda9f649e7b8201565d75192.tar.bz2 askbot-6173faa39144057fcda9f649e7b8201565d75192.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 * + |