django-datatable-view==0.9.0 Django 3.1.3: ImportError:无法导入名称'FieldDoesNotExist‘

问题答案来自于:https://cloud.tencent.com/developer/ask/sof/891274
源码:

  from django.db.models.fields import FieldDoesNotExist

 替换:

   from django.core.exceptions import FieldDoesNotExist

posted on 2023-05-07 18:43  与太阳肩并肩  阅读(11)  评论(0编辑  收藏  举报

导航