
django
爱唱歌de小青蛙
Test
展开
-
启动django的服务时候报错RuntimeError: maximum recursion depth exceeded in cmp
启动django的服务时候报错RuntimeError: maximum recursion depth exceeded in cmp转载 2017-07-04 09:44:45 · 810 阅读 · 0 评论 -
django的403/404/500错误自定义页面的配置
转载自:http://blog.youkuaiyun.com/apple9005/article/details/54600154转载 2017-10-13 17:02:20 · 3626 阅读 · 0 评论 -
OperationalError: (2005, "Unknown MySQL server host 'localhost' (11001)")
修改 DATABASES 中的'HOST'的值为数据库的ip地址即可原创 2017-10-12 10:55:55 · 15293 阅读 · 4 评论 -
启动Django服务让其他电脑可访问
ALLOWED_HOSTS = ['*'] python manage.py runserver 0.0.0.0:8000原创 2017-10-07 11:50:22 · 7206 阅读 · 1 评论 -
Django前后台数据传递
转载自:http://www.cnblogs.com/psklf/archive/2016/05/30/5542612.html转载 2017-10-07 09:00:12 · 11068 阅读 · 0 评论 -
django 项目的html加载css文件
django 项目的html加载css文件转载 2017-07-06 15:38:08 · 6095 阅读 · 2 评论 -
python+django搭建web项目
python+django搭建web项目原创 2017-07-06 13:18:16 · 87198 阅读 · 6 评论 -
model class django.contrib.contenttypes.models.contenttype doesn't declare an explicit app_label and
model class django.contrib.contenttypes.models.contenttype doesn't declare an explicit app_label and原创 2017-07-06 09:05:07 · 9371 阅读 · 1 评论 -
python Exception happened during processing of request from( 127.0.0.1 xxx) error [10053]
使用Django框架,删除数据时,突然提示如下错误:Exception happened during processing of request from( 127.0.0.1 xxx) error :[Errno 10053]经过各种搜索和尝试,应该是在删除时又做了其他的操作,故会提示该错误仔细检查出现该错误提示的方法流程,排查前端和后端是否有异步执行的代码会相互影响fun原创 2017-10-17 14:56:56 · 19889 阅读 · 0 评论 -
Django处理Ajax请求
return JsonResponse(a, safe=False)转载 2017-10-16 08:52:28 · 2004 阅读 · 0 评论 -
Django 调试时提示: In order to allow non-dict objects to be serialized
return JsonResponse(result, safe=False)原创 2017-10-16 10:44:09 · 14488 阅读 · 2 评论 -
django request 获取多个相同name的value值
原文:http://blog.youkuaiyun.com/yes1cpp/article/details/42405251转载 2017-11-01 16:48:09 · 2565 阅读 · 0 评论 -
Django 数据分页处理
原文:http://www.cnblogs.com/kongzhagen/p/6640975.html转载 2017-10-25 09:57:12 · 3084 阅读 · 0 评论 -
Django日志配置
django日志模块配置及使用转载 2017-10-13 16:47:16 · 411 阅读 · 0 评论 -
Django 的登录拦截器
转载自:http://www.cnblogs.com/pythonxiaokang/p/6369828.html转载 2017-09-26 11:07:30 · 9873 阅读 · 2 评论 -
安装Django后,执行django-admin.py无法创建工程的解决办法
安装了Django后,执行django-admin.py无法创建工程的解决办法转载 2017-07-04 09:19:26 · 11464 阅读 · 3 评论 -
python Django 安装
python Django 安装转载 2017-07-03 13:51:22 · 667 阅读 · 0 评论 -
django 运行报错view must be a callable or a list/tuple in the case of include()
django 运行报错view must be a callable or a list/tuple in the case of include()转载 2017-07-06 08:34:40 · 1512 阅读 · 0 评论 -
python web框架Django学习(五)模板中的循环,条件判断,常用的标签,过滤器的使用
python web框架Django学习(五)模板中的循环,条件判断,常用的标签,过滤器的使用转载 2017-09-11 16:55:41 · 540 阅读 · 0 评论 -
python web框架Django学习(一)介绍篇
python web框架Django学习(一)介绍篇转载 2017-09-11 15:54:35 · 953 阅读 · 0 评论 -
python web框架Django学习(二)命令篇
python web框架Django学习(二)命令篇转载 2017-09-11 16:12:20 · 444 阅读 · 0 评论 -
python web框架Django学习(三)视图预url
python web框架Django学习(三)视图预url转载 2017-09-11 16:29:59 · 347 阅读 · 0 评论 -
python web框架Django学习(四)模板查找机制
python web框架Django学习(四)模板查找机制转载 2017-09-11 16:41:02 · 433 阅读 · 0 评论 -
python web框架Django学习(六)数据库
python web框架Django学习(六)数据库转载 2017-09-11 17:13:16 · 383 阅读 · 0 评论 -
Django 使用jquery提交post请求
Django 使用jquery提交post请求原创 2017-09-19 08:07:40 · 6361 阅读 · 0 评论 -
Python出现: TypeError: expected string or buffer
python 提示 TypeError: expected string or buffer,一般为数据类型与预定的数据类型不一致造成的原创 2017-10-19 15:27:59 · 61241 阅读 · 0 评论 -
Django 使用原生sql
原文:http://www.cnblogs.com/guanfuchang/p/6491625.html转载 2017-11-02 09:11:38 · 4292 阅读 · 0 评论