摘要: modelform的常用配置# from django import forms from django.forms import widgets as wid #因为重名,所以起个别名 class ProjectForm(forms.ModelForm): class Meta: model = 阅读全文
posted @ 2020-02-20 13:18 hanfe1 阅读(507) 评论(0) 推荐(0) 编辑