https://mobiforge.com/design-development/build-a-mobile-and-desktop-friendly-application-django-15-minutes

https://www.imagescape.com/blog/2010/12/16/mobile-web-development-django/

https://mobiforge.com/design-development/build-a-mobile-and-desktop-friendly-application-django-15-minutes

根据域名返回模板

http://www.cnblogs.com/MnCu8261/p/5871085.html

http://python.usyiyi.cn/django_182/ref/request-response.html

https://github.com/PyxYuYu/MyBlog/issues/65

相关资料

https://github.com/PyxYuYu/MyBlog

django相关的资料

https://haoluobo.com/trac/wiki/Django

 

 

缩略图 https://github.com/matthewwithanm/django-imagekit

手机站pc 站点https://github.com/gregmuellegger/django-mobile

templates多对多数据查询

 

变量 描述
forloop.counter 索引从 1 开始算
forloop.counter0 索引从 0 开始算
forloop.revcounter 索引从最大长度到 1
forloop.revcounter0 索引从最大长度到 0
forloop.first 当遍历的元素为第一项时为真
forloop.last 当遍历的元素为最后一项时为真
forloop.parentloop 用在嵌套的 for 循环中,

获取上一层 for 循环的 forloop

https://andrew-liu.gitbooks.io/django-blog/content/admin.html

HTTPX 基础教程-新乡seo|网站优化,网站建设_微信公众号:zeropython—昊天博客