使用python3 ,django 2.0
settings:
urls:
account/urls:
views:
我的设置是这样的,请问各位,为什么我访问时出现
Not Found
The requested URL /login/ was not found on this server.
使用python3 ,django 2.0
settings:
urls:
account/urls:
views:
我的设置是这样的,请问各位,为什么我访问时出现
Not Found
The requested URL /login/ was not found on this server.
配置文件urls.py 里写了account.urls包含在account路由下,所以你应该访问localhost:8000/account/login/来访问登录页面(假设你用的默认端口8000)