Debian Codegraph @

testproject/forms.py

raw symbols SCIP
1 from django import forms
2
3 from captcha.fields import CaptchaField, CaptchaTextInput
4
5
6 class CustomCaptchaTextInput(CaptchaTextInput):
7 template_name = "captcha_test/custom_captcha_field.html"
8
9
10 class CaptchaForm(forms.Form):
11 captcha = CaptchaField()
12
13
14 class CustomCaptchaForm(forms.Form):
15 captcha = CaptchaField(widget=CustomCaptchaTextInput)