njpma/app/contact/forms.py

8 lines
213 B
Python
Raw Normal View History

2021-10-26 15:47:06 +00:00
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)