📅  最后修改于: 2022-03-11 14:53:02.897000             🧑  作者: Mango
from django import forms
from .models import ContactForm
class FormContactForm(forms.ModelForm):
class Meta:
model= ContactForm
fields= ["fullname", "email", "contact", "message"]