]> git.openstreetmap.org Git - osqa.git/blob - forum_modules/recaptcha/settings.py
add a new after_head_js block (immediately after the <head> tag), allows to add track...
[osqa.git] / forum_modules / recaptcha / settings.py
1 from forum.settings import EXT_KEYS_SET
2 from forum.settings.base import Setting
3
4 RECAPTCHA_PUB_KEY = Setting('RECAPTCHA_PUB_KEY', '', EXT_KEYS_SET, dict(
5 label = "Recaptch public key",
6 help_text = """
7 Get this key at <a href="http://recaptcha.net">reCaptcha</a> to enable
8 recaptcha anti spam through.
9 """,
10 required=False))
11
12 RECAPTCHA_PRIV_KEY = Setting('RECAPTCHA_PRIV_KEY', '', EXT_KEYS_SET, dict(
13 label = "Recaptch private key",
14 help_text = """
15 This is the private key you'll get in the same place as the recaptcha public key.
16 """,
17 required=False))