Unhandled exception in thread started by <function check_errors..wrapper at 0x05B9C858>
Traceback (most recent call last):
File “D:\install\python-series\Python-3.6.8\lib\site-packages\django\utils\autoreload.py”, line 225, in wrapper
fn(*args, **kwargs)
File “D:\install\python-series\Python-3.6.8\lib\site-packages\django\core\management\commands\runserver.py”, line 120, in inner_run
self.check(display_num_errors=True)
File “D:\install\python-series\Python-3.6.8\lib\site-packages\django\core\management\base.py”, line 364, in check
include_deployment_checks=include_deployment_checks,
File “D:\install\python-series\Python-3.6.8\lib\site-packages\django\core\management\base.py”, line 351, in run_checks
return checks.run_checks(**kwargs)
File “D:\install\python-series\Python-3.6.8\lib\site-packages\django\core\checks\registry.py”, line 73, in run_checks
new_errors = check(app_configs=app_configs)
File “D:\install\python-series\Python-3.6.8\lib\site-packages\django\core\checks\urls.py”, line 13, in check_url_config
return check_resolver(resolver)
File “D:\install\python-series\Python-3.6.8\lib\site-packages\django\core\checks\urls.py”, line 23, in check_resolver
return check_method()
File “D:\install\python-series\Python-3.6.8\lib\site-packages\django\urls\resolvers.py”, line 397, in check
for pattern in self.url_patterns:
File “D:\install\python-series\Python-3.6.8\lib\site-packages\django\utils\functional.py”, line 36, in get
res = instance.dict[self.name] = self.func(instance)
File “D:\install\python-series\Python-3.6.8\lib\site-packages\django\urls\resolvers.py”, line 536, in url_patterns
patterns = getattr(self.urlconf_module, “urlpatterns”, self.urlconf_module)
File “D:\install\python-series\Python-3.6.8\lib\site-packages\django\utils\functional.py”, line 36, in get
res = instance.dict[self.name] = self.func(instance)
File “D:\install\python-series\Python-3.6.8\lib\site-packages\django\urls\resolvers.py”, line 529, in urlconf_module
return import_module(self.urlconf_name)
File "D:\install\python-series\Python-3.6.8\lib\importlib_init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “
Process finished with exit code 0
INSTALLED_APPS = [
‘django.contrib.admin’,
这个在setting.py里面也有。
目前看您授课里面的所有配置和下载的包都已经做到位了,还是报这个错误。
谢谢!
Django REST framework课程视频,RESTFul API前后端分离开发
了解课程