Skip to content

Commit

Permalink
docs: form_plugin recaptcha keys server setttings
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleyboar committed Jun 21, 2022
1 parent ac0ac41 commit 5dbaac9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions taccsite_cms/_settings/form_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,14 @@
'django.forms', # support form template override
'captcha', # support recaptcha for djangocms_forms
]

########################
# DJANGO: RECAPTCHA
########################

# To properly avoid client error about using test keys
# RECAPTCHA_PUBLIC_KEY = '__this_must_be_on_server_not_here__'
# RECAPTCHA_SECRET_KEY = '__this_must_be_on_server_not_here__'

# To silence server error about using test keys
# SILENCED_SYSTEM_CHECKS = ['captcha.recaptcha_test_key_error']

0 comments on commit 5dbaac9

Please sign in to comment.