5,655
社区成员
发帖
与我相关
我的任务
分享
Exception in thread django-main-thread:
Traceback (most recent call last):
File "E:\Python37\lib\threading.py", line 917, in _bootstrap_inner
self.run()
File "E:\Python37\lib\threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "E:\Python37\lib\site-packages\django\utils\autoreload.py", line 54, in wrapper
fn(*args, **kwargs)
File "E:\Python37\lib\site-packages\django\core\management\commands\runserver.py", line 117, in inner_run
self.check(display_num_errors=True)
File "E:\Python37\lib\site-packages\django\core\management\base.py", line 436, in check
raise SystemCheckError(msg)
django.core.management.base.SystemCheckError: SystemCheckError: System check identified some issues:
ERRORS:
?: (admin.E408) 'django.contrib.auth.middleware.AuthenticationMiddleware' must be in MIDDLEWARE in order to use the admin application.
?: (admin.E409) 'django.contrib.messages.middleware.MessageMiddleware' must be in MIDDLEWARE in order to use the admin application.
?: (admin.E410) 'django.contrib.sessions.middleware.SessionMiddleware' must be in MIDDLEWARE in order to use the admin application.