Add captcha to registration form

This commit is contained in:
Grégoire Duvauchelle
2018-07-06 11:35:02 +02:00
committed by Skia
parent b2abc78694
commit afe78ea634
5 changed files with 45 additions and 1 deletions

View File

@ -74,6 +74,7 @@ INSTALLED_APPS = (
'rest_framework',
'ajax_select',
'haystack',
'captcha',
'core',
'club',
'subscription',
@ -625,3 +626,6 @@ if DEBUG:
SASS_INCLUDE_FOLDERS = [
'core/static/',
]
if 'test' in sys.argv:
CAPTCHA_TEST_MODE = True