from django.db.models.fields import FieldDoesNotExist ImportError: cannot import name 'FieldDoesNotExist' from 'django.db.models.fields' (/home/javad/tmp/drf-user/example/venv/lib/python3.8/site-packages/django/db/models/fields/__init__.py)
Example: ImportError: cannot import name 'FieldDoesNotExist' from 'django.db.models.fields' (C:\Users\Admin\AppData\Local\Programs\Python\Python39\lib\site-packages\django\db\models\fields\__init__.py)
from django.core.exceptions import FieldDoesNotExist