TangowithDjango--Start àì夳堔傛蜴生んèń 2022-07-26 11:19 99阅读 0赞 # [tangowithdjango][] # # How to tango with django 1.7 学习笔记 # # chapter 2 # ## 系统架构图 ## ![architecture][] ## 主页和分类页的样子 ## ![这里写图片描述][ch1-rango-index.png] ## URL 映射 ## /rango/ mainpage /rango/about/ about page /rango/category/<category_name>/ 指向具体的category页面 for category_name /rango/etc/ 其他要实现的url ## 要实现的表示数据模型的实体关系图 ## **Category** \+ name —- string \+ views —- integer \+ likes —- integer -------------------- *Page* \+ category — foreign key \+ title — string \+ url — url \+ views — integer [tangowithdjango]: http://www.tangowithdjango.com/book17 [architecture]: /images/20220724/6fc85741ae99437d9c024c80fd203110.png [ch1-rango-index.png]: /images/20220724/c5357246d3b4423fbc34fbad3cdc28f4.png
还没有评论,来说两句吧...