FIELD_CLASSES = getattr(settings, 'FORM_DESIGNER_FIELD_CLASSES', (
('django.forms.CharField', _('Text')),
('django.forms.EmailField', _('E-mail address')),
('django.forms.URLField', _('Web address')),
('django.forms.IntegerField', _('Number')),
('django.forms.DecimalField', _('Decimal number')),
('django.forms.BooleanField', _('Yes/No')),
('django.forms.DateField', _('Date')),
('django.forms.DateTimeField', _('Date & time')),
('django.forms.TimeField', _('Time')),
('django.forms.ChoiceField', _('Choice')),
('django.forms.MultipleChoiceField', _('Multiple Choice')),
('django.forms.ModelChoiceField', _('Model Choice')),
('django.forms.ModelMultipleChoiceField', _('Model Multiple Choice')),
('django.forms.RegexField', _('Regex')),
('django.forms.FileField', _('File')),
# ('captcha.fields.CaptchaField', _('Captcha')),
))
Captcha field is commented, so I tried to override the settings in my project's settings.
Then I get error "CaptchaField does not exist". What should I do ?
And another doubt is how to send html email after successful submission of form.
Any pointer or help would be great.
Thanks