summaryrefslogtreecommitdiffstats
path: root/settings_local.py.dist
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-03-27 11:38:06 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-03-27 11:38:06 -0400
commit9413c12d2126d4f86f2340e458226e72c0d4ecec (patch)
treeb8c6cb667db07cb0247c07a3e09c222f412d6a99 /settings_local.py.dist
parentc50f61d34bf8b5431e8557a48b81a57026b3f0da (diff)
parent5c483bace8ac3066b88f2ce7ecb8c95a34aea07d (diff)
downloadaskbot-9413c12d2126d4f86f2340e458226e72c0d4ecec.tar.gz
askbot-9413c12d2126d4f86f2340e458226e72c0d4ecec.tar.bz2
askbot-9413c12d2126d4f86f2340e458226e72c0d4ecec.zip
intermediate commit after merge
Diffstat (limited to 'settings_local.py.dist')
-rwxr-xr-xsettings_local.py.dist30
1 files changed, 11 insertions, 19 deletions
diff --git a/settings_local.py.dist b/settings_local.py.dist
index a7f61c26..bb7fd0dd 100755
--- a/settings_local.py.dist
+++ b/settings_local.py.dist
@@ -29,7 +29,14 @@ DATABASE_ENGINE = '' #mysql, etc
DATABASE_HOST = ''
DATABASE_PORT = ''
-#Moved from settings.py for better organization. (please check it up to clean up settings.py)
+#set this value to 'dummy://' if you don't want to use cache, or set up your favourite caching mechanism
+#see http://docs.djangoproject.com/en/1.1/topics/cache/ for details
+#example (set local file system cache in a cache folder in the root of the osqa install):
+#CACHE_BACKEND = 'file://%s' % os.path.join(os.path.dirname(__file__),'cache').replace('\\','/')
+CACHE_BACKEND = 'dummy://'
+
+#If you use memcache you may want to uncomment the following line to enable memcached based sessions
+#SESSION_ENGINE = 'django.contrib.sessions.backends.cache_db'
#email server settings
SERVER_EMAIL = ''
@@ -41,6 +48,9 @@ EMAIL_HOST='osqa.net'
EMAIL_PORT='25'
EMAIL_USE_TLS=False
+#HACK - anonymous user email - for email-less users
+ANONYMOUS_USER_EMAIL = 'anonymous@osqa.net'
+
#LOCALIZATIONS
TIME_ZONE = 'America/New_York'
@@ -71,33 +81,15 @@ EMAIL_UNIQUE = False
APP_URL = 'http://osqa.net' #used by email notif system and RSS
GOOGLE_SITEMAP_CODE = ''
GOOGLE_ANALYTICS_KEY = ''
-BOOKS_ON = False
WIKI_ON = True
-USE_EXTERNAL_LEGACY_LOGIN = False
-EXTERNAL_LEGACY_LOGIN_HOST = 'login.osqa.net'
-EXTERNAL_LEGACY_LOGIN_PORT = 80
-EXTERNAL_LEGACY_LOGIN_PROVIDER_NAME = '<span class="orange">OSQA</span>'
FEEDBACK_SITE_URL = None #None or url
EDITABLE_SCREEN_NAME = False #True or False - can user change screen name?
DJANGO_VERSION = 1.1
RESOURCE_REVISION=4
-USE_SPHINX_SEARCH = False #if True all SPHINX_* settings are required
-#also sphinx search engine and djangosphinxs app must be installed
-#sample sphinx configuration file is /sphinx/sphinx.conf
-SPHINX_API_VERSION = 0x113 #refer to djangosphinx documentation
-SPHINX_SEARCH_INDICES=('osqa',) #a tuple of index names remember about a comma after the
-#last item, especially if you have just one :)
-SPHINX_SERVER='localhost'
-SPHINX_PORT=3312
-
#please get these at recaptcha.net
RECAPTCHA_PRIVATE_KEY='...'
RECAPTCHA_PUBLIC_KEY='...'
OSQA_DEFAULT_SKIN = 'default'
-#Facebook settings
-USE_FB_CONNECT=False
-FB_API_KEY='' #your api key from facebook
-FB_SECRET='' #your application secret