from django import forms from django.conf import settings class ContactForm(forms.Form): email = forms.EmailField(label='EMail', required=False) message = forms.CharField(label='Message', required=True)