1. 简单的项目不需要路由分发,直接在根路径下的url.py编写即可
2. 路由分发
利用上期学过的在apps文件夹下创建多app
https://www.cnblogs.com/khalil12138/p/17540805.html
再将路由拆分到各自app的urls.py下
标签:分发,www,app,py,Django,路由 From: https://www.cnblogs.com/khalil12138/p/17547157.html
利用上期学过的在apps文件夹下创建多app
https://www.cnblogs.com/khalil12138/p/17540805.html
再将路由拆分到各自app的urls.py下
标签:分发,www,app,py,Django,路由 From: https://www.cnblogs.com/khalil12138/p/17547157.html