camp/content/forms.py

8 lines
291 B
Python
Raw Normal View History

2018-02-21 15:01:25 +00:00
from django import forms
from django.conf import settings
class ContactForm(forms.Form):
name = forms.CharField(label='Name', required=True)
email = forms.EmailField(label='E-Mail', required=True)
message = forms.CharField(label='Message', widget=forms.Textarea, required=True)