Source

django-bootstrap-theme / bootstrap_theme / forms.py

1
2
3
4
5
from registration.forms import RegistrationForm
from captcha.fields import ReCaptchaField

class RegistrationFormCaptcha(RegistrationForm):
    captcha = ReCaptchaField(attrs={'theme': 'white'})