django 版本错误:from django.db.models.fields import FieldDoesNotExist

from django.db.models.fields import FieldDoesNotExist
改成
from django.core.exceptions import FieldDoesNotExist

参考:https://stackoverflow.com/questions/63300404/makemigration-error-on-django-importerror-cannot-import-name-fielddoesnotexi

你可能感兴趣的:(django 版本错误:from django.db.models.fields import FieldDoesNotExist)