Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (19 sloc) 0.661 kB
from django import forms
#import settings
from cmsplugin_contact.nospam.forms import HoneyPotForm, RecaptchaForm, AkismetForm
class ContactForm(forms.Form):
email = forms.EmailField()
subject = forms.CharField(required=False)
content = forms.CharField(widget=forms.Textarea())
class HoneyPotContactForm(HoneyPotForm):
pass
class AkismetContactForm(AkismetForm):
akismet_fields = {
'comment_author_email': 'email',
'comment_content': 'content'
}
akismet_api_key = None
class RecaptchaContactForm(RecaptchaForm):
recaptcha_public_key = None
recaptcha_private_key = None
recaptcha_theme = None
Jump to Line
Something went wrong with that request. Please try again.