2016-12-20 23:05:20 +00:00
|
|
|
from django import forms
|
|
|
|
|
2018-02-20 14:11:09 +00:00
|
|
|
from .models import ContactUs
|
2017-02-15 04:34:06 +00:00
|
|
|
|
|
|
|
|
2017-08-27 07:49:05 +00:00
|
|
|
class ContactForm(forms.ModelForm):
|
|
|
|
class Meta:
|
|
|
|
fields = ['name', 'email', 'message']
|
|
|
|
model = ContactUs
|