euscan-ng/euscanwww/euscan_captcha/forms.py

6 lines
195 B
Python
Raw Normal View History

from captcha.fields import ReCaptchaField
from registration.forms import RegistrationForm
class RegistrationFormCaptcha(RegistrationForm):
captcha = ReCaptchaField(attrs={'theme': 'white'})