Django
runnerred
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Django 一张网站框架图
框架图:原创 2017-10-17 19:29:54 · 915 阅读 · 0 评论 -
nginx: unrecognized service 问题解决
启动Nginx相关模块1.配置好之后就可以开启nginx服务器了。可以在终端执行:service nginx start注:可能会出现一下错误:nginx: unrecognized service解决方法:下载nginx的启动脚本:wget -O init-deb.sh http://library.linode.com/assets/660-init-deb.sh将脚本添加到init.d目录转载 2017-10-28 23:05:04 · 10612 阅读 · 2 评论 -
Nginx+uWSGI+Django原理
Python的Web开发中,如果使用Django框架,那么较为成熟稳定的服务器架构一般是Nginx+uWSGI+Django。转载 2017-10-22 23:18:13 · 1038 阅读 · 0 评论 -
Django request.GET 编码错误解决
出错的代码:#接收请求数据 def search(request): request.encoding = 'utf-8' if 'q' in request.GET: message = '你搜索的内容为: ' + request.GET['q'] else: message = '你提交了空表单' return HttpRespon原创 2017-10-16 22:16:14 · 1630 阅读 · 0 评论 -
Setting up Django and your web server with uWSGI and nginx
This tutorial is aimed at the Django user who wants to set up a production web server. It takes you through the steps required to set up Django so that it works nicely with转载 2017-11-19 16:26:05 · 546 阅读 · 0 评论
分享