python3.9 + django4.1 + vue3 ,后端项目运行时,报错了;
报错信息 ,如下 :
django.core.exceptions.ImproperlyConfigured: WSGI application 'StudentMgrBE.wsgi.application' could not be loaded; Error importing module.
------------------------------
百度了一些方法,解决参考 :
1.先看自己写的中间件文件 引入MiddlewareMixin时是否正常, 引用应该为:from django.utils.deprecation import MiddlewareMixin
2.再看settings.py文件中MIDDLEWARE里的配置是否都有逗号;
标签:WSGI,wsgi,module,application,报错,vue3 From: https://www.cnblogs.com/yudao2015-youshendu/p/18012536