euscan-ng/euscanwww/euscan_captcha/__init__.py

7 lines
223 B
Python
Raw Normal View History

from registration.backends.default import DefaultBackend
from forms import RegistrationFormCaptcha
class CaptchaDefaultBackend(DefaultBackend):
def get_form_class(self, request):
return RegistrationFormCaptcha