diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2010-01-24 19:53:00 -0500 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2010-01-24 20:03:21 -0500 |
commit | 2156804d24b5a8a877f1ea36674ac7fe078be9a0 (patch) | |
tree | ebea9e231463d878ff869e4a74ecd4620e743a95 /settings_local.py.dist | |
parent | dacc2f261b8b0419cc0a2af4cc737a33933d1ca9 (diff) | |
download | askbot-2156804d24b5a8a877f1ea36674ac7fe078be9a0.tar.gz askbot-2156804d24b5a8a877f1ea36674ac7fe078be9a0.tar.bz2 askbot-2156804d24b5a8a877f1ea36674ac7fe078be9a0.zip |
recaptcha for conventional registration\n\
simpler email subscription form at registration\n\
fixed urls in rss feed\n\
added experimental remote password login api (cleartext password for remote site entered locally)\n\
included example for Mediawiki Authentication plugin\n\
very simple message to everyone management command
Diffstat (limited to 'settings_local.py.dist')
-rwxr-xr-x | settings_local.py.dist | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/settings_local.py.dist b/settings_local.py.dist index 443b73d1..f271a0b0 100755 --- a/settings_local.py.dist +++ b/settings_local.py.dist @@ -2,6 +2,13 @@ import os.path from django.utils.translation import ugettext as _ +def check_local_setting(name, value): + local_vars = locals() + if name in local_vars and local_var[name] == value: + return True + else: + return False + SITE_SRC_ROOT = os.path.dirname(__file__) LOG_FILENAME = 'django.osqa.log' @@ -87,6 +94,11 @@ SPHINX_SEARCH_INDICES=('osqa',) #a tuple of index names remember about a comma a SPHINX_SERVER='localhost' SPHINX_PORT=3312 +#please get these at recaptcha.net +RECAPTCHA_PRIVATE_KEY='...' +RECAPTCHA_PUBLIC_KEY='...' + #Facebook settings +USE_FB_CONNECT=True FB_API_KEY='' #your api key from facebook FB_SECRET='' #your application secret |