eucanwww: add recaptcha support
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
This commit is contained in:
parent
8d91237988
commit
a8e6b09125
@ -170,6 +170,7 @@ INSTALLED_APPS = (
|
||||
'south',
|
||||
'djcelery',
|
||||
'registration',
|
||||
'captcha'
|
||||
)
|
||||
|
||||
# A sample logging configuration. The only tangible logging
|
||||
@ -218,6 +219,8 @@ LOGGING = {
|
||||
|
||||
# django-registration
|
||||
ACCOUNT_ACTIVATION_DAYS = 7
|
||||
RECAPTCHA_PUBLIC_KEY = ""
|
||||
RECAPTCHA_PRIVATE_KEY = ""
|
||||
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
|
||||
|
||||
# djeuscan tasks
|
||||
|
@ -1,15 +1,15 @@
|
||||
from django.conf import settings
|
||||
from django.conf.urls import patterns, include, url
|
||||
|
||||
# Uncomment the next two lines to enable the admin:
|
||||
from django.contrib import admin
|
||||
admin.autodiscover()
|
||||
|
||||
|
||||
urlpatterns = patterns('',
|
||||
# Uncomment the admin/doc line below to enable admin documentation:
|
||||
# (r'^admin/doc/', include('django.contrib.admindocs.urls')),
|
||||
|
||||
url(r'^admin/', include(admin.site.urls)),
|
||||
url(r'^accounts/', include('captcha.backends.default.urls')),
|
||||
url(r'^accounts/', include('registration.backends.default.urls')),
|
||||
url(r'^', include('djeuscan.urls')),
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user