dynamicweb/datacenterlight/forms.py

10 lines
182 B
Python
Raw Permalink Normal View History

2016-12-20 23:05:20 +00:00
from django import forms
2018-02-20 14:11:09 +00:00
from .models import ContactUs
class ContactForm(forms.ModelForm):
class Meta:
fields = ['name', 'email', 'message']
model = ContactUs