error:
django.core.exceptions.ImproperlyConfigured: Creating a ModelForm without either the \’fields\’ attribute or the \’exclude\’ attribute is prohibited; form TagAdminForm needs updating.
solution:
#fields
class Meta:
model = Job
fields = \"__all__\"
上一篇:python 普通验证码识别程序
下一篇:Python悖论