随笔分类 -  Django系列

摘要:参考: 1、http://djangobook.py3k.cn/chapter03/ 2、http://blog.51cto.com/830909/1750930 3、http://www.snailtoday.com/archives/7395 阅读全文
posted @ 2018-12-13 23:12 脚本小娃子 阅读(2140) 评论(0) 推荐(0)
摘要:django-rest-framework,即drf的api文档,包括自带的文档和其他三方文档,比如swagger、DRF Docs等 https://www.django-rest-framework.org/topics/documenting-your-api/#drf-autodocs 可以 阅读全文
posted @ 2018-12-13 23:04 脚本小娃子 阅读(3445) 评论(0) 推荐(0)
摘要:参考: 1、https://django-filter.readthedocs.io/en/master/guide/usage.html#the-filter 2、https://www.cnblogs.com/neozheng/p/9838440.html 3、https://zhuanlan. 阅读全文
posted @ 2018-12-12 21:57 脚本小娃子 阅读(1777) 评论(0) 推荐(0)
摘要:?: (mysql.W002) MySQL Strict Mode is not set for database connection 'default' HINT: MySQL's Strict Mode fixes many data integrity problems in MySQL, 阅读全文
posted @ 2018-12-11 21:13 脚本小娃子 阅读(3261) 评论(0) 推荐(0)
摘要:文档位置:https://docs.djangoproject.com/zh-hans/2.1/ 阅读全文
posted @ 2018-11-26 20:41 脚本小娃子 阅读(150) 评论(0) 推荐(0)
摘要:文档位置:https://www.django-rest-framework.org/ 代码位置:https://github.com/encode/django-rest-framework/tree/master 具体使用方法参见文档,这里只记录使用过程中的问题 阅读全文
posted @ 2018-11-26 20:40 脚本小娃子 阅读(463) 评论(0) 推荐(0)
摘要:源码位置:https://github.com/marcgibbons/django-rest-swagger 文档位置:https://marcgibbons.com/django-rest-swagger/ 具体内容看文章和代码,比较简单,不做介绍 阅读全文
posted @ 2018-11-26 20:25 脚本小娃子 阅读(955) 评论(0) 推荐(0)
摘要:Django 版本对应的 Python 版本: 来源:http://www.runoob.com/django/django-tutorial.html 阅读全文
posted @ 2018-11-26 00:55 脚本小娃子 阅读(3373) 评论(0) 推荐(0)