mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-09 19:40:19 +00:00
Add captcha to registration form
This commit is contained in:
committed by
Skia
parent
b2abc78694
commit
afe78ea634
@ -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
|
||||
|
@ -72,6 +72,7 @@ urlpatterns = [
|
||||
url(r'^ajax_select/', include(ajax_select_urls)),
|
||||
url(r'^i18n/', include('django.conf.urls.i18n')),
|
||||
url(r'^jsi18n/$', javascript_catalog, js_info_dict, name='javascript-catalog'),
|
||||
url(r'^captcha/', include('captcha.urls')),
|
||||
]
|
||||
|
||||
if settings.DEBUG:
|
||||
|
Reference in New Issue
Block a user