from django.forms import ModelForm from models import Moment class MomentForm(ModelForm): class Meta: model=Moment fields="__all__"
django的表单验证基本写法
猜你喜欢
转载自blog.csdn.net/douyunqian668/article/details/80269708
今日推荐
周排行