diff options
author | Mike Crute <mcrute@gmail.com> | 2012-12-04 15:50:42 -0500 |
---|---|---|
committer | Mike Crute <mcrute@gmail.com> | 2012-12-11 15:27:46 -0500 |
commit | fc5ad68e62bd2b82450cdbdd3c83f8c1e94feed2 (patch) | |
tree | b521cb9d395bed84d88bce003327af3020010810 /contact/forms.py | |
parent | 39850fe5e8a23b402610167e33540ee615aed3ab (diff) | |
download | django-precompiler-fc5ad68e62bd2b82450cdbdd3c83f8c1e94feed2.tar.bz2 django-precompiler-fc5ad68e62bd2b82450cdbdd3c83f8c1e94feed2.tar.xz django-precompiler-fc5ad68e62bd2b82450cdbdd3c83f8c1e94feed2.zip |
Add contact form
Diffstat (limited to 'contact/forms.py')
-rw-r--r-- | contact/forms.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/contact/forms.py b/contact/forms.py new file mode 100644 index 0000000..5c77b29 --- /dev/null +++ b/contact/forms.py | |||
@@ -0,0 +1,7 @@ | |||
1 | from django import forms | ||
2 | |||
3 | |||
4 | class ContactForm(forms.Form): | ||
5 | subject = forms.CharField(max_length=100) | ||
6 | message = forms.CharField() | ||
7 | sender = forms.EmailField() | ||