Add captcha to registration form

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

No files matched your search

+4
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