终端问题“'django.forms.models'没有属性'Model'

时间:2019-11-18 06:26:36

标签: python django django-models django-forms django-views

What's appear on the terminal

我写命令时无法解决此错误

python manage.py makemigrations polls

1 个答案:

答案 0 :(得分:0)

根据文档:

from django.db import models

class Model(models.Model):
    # Your model fields