4 SITE_SRC_ROOT = os.path.dirname(__file__)
5 LOG_FILENAME = 'django.osqa.log'
10 filename=os.path.join(SITE_SRC_ROOT, 'log', LOG_FILENAME),
12 format='%(pathname)s TIME: %(asctime)s MSG: %(filename)s:%(funcName)s:%(lineno)d %(message)s',
16 ADMINS = (('Forum Admin', 'forum@example.com'),)
20 DEBUG_TOOLBAR_CONFIG = {
21 'INTERCEPT_REDIRECTS': True
23 TEMPLATE_DEBUG = DEBUG
24 INTERNAL_IPS = ('127.0.0.1',)
26 DATABASE_NAME = '' # Or path to database file if using sqlite3.
27 DATABASE_USER = '' # Not used with sqlite3.
28 DATABASE_PASSWORD = '' # Not used with sqlite3.
29 DATABASE_ENGINE = '' #mysql, etc
33 CACHE_BACKEND = 'file://%s' % os.path.join(os.path.dirname(__file__),'cache').replace('\\','/')
34 #CACHE_BACKEND = 'dummy://'
35 SESSION_ENGINE = 'django.contrib.sessions.backends.db'
37 APP_URL = 'http://' #used by email notif system and RSS
40 TIME_ZONE = 'America/New_York'
42 ###########################
44 # this will allow running your forum with url like http://site.com/forum
46 # FORUM_SCRIPT_ALIAS = 'forum/'
48 FORUM_SCRIPT_ALIAS = '' #no leading slash, default = '' empty string
56 EMAIL_VALIDATION = 'off' #string - on|off
59 OSQA_DEFAULT_SKIN = 'default'
61 DISABLED_MODULES = ['books', 'recaptcha', 'project_badges']