你的urls.py中path中没有加path('', ***)这个,没有对应响应,所以直接输入不行。看你有个admin和student应该输入127.0.0.1:8000/admin和127.0.0.1:8000/student没问题