dynamicweb/datacenterlight/forms.py
2018-02-20 15:11:09 +01:00

9 lines
182 B
Python

from django import forms
from .models import ContactUs
class ContactForm(forms.ModelForm):
class Meta:
fields = ['name', 'email', 'message']
model = ContactUs