上一页 1 2 3 4 5 6 ··· 61 下一页
摘要: https://www.cnblogs.com/code-changeworld/p/4779145.html 刚创建的github版本库,在push代码时出错:$ git push -u origin masterTo git@github.com:******/Demo.git ! [rejec 阅读全文
posted @ 2019-12-09 22:38 venicid 阅读(322) 评论(0) 推荐(0) 编辑
摘要: 1、Tutorial 6: ViewSets & Routers 视图集与路由器 0、文档 https://q1mi.github.io/Django-REST-framework-documentation/tutorial/6-viewsets-and-routers_zh/ https://w 阅读全文
posted @ 2019-12-09 21:19 venicid 阅读(251) 评论(0) 推荐(0) 编辑
摘要: 1、关系和超链接 0、文档 https://www.django-rest-framework.org/tutorial/5-relationships-and-hyperlinked-apis/ https://q1mi.github.io/Django-REST-framework-docume 阅读全文
posted @ 2019-12-09 17:54 venicid 阅读(268) 评论(0) 推荐(0) 编辑
摘要: 1、认证和权限 0、文档 https://www.django-rest-framework.org/tutorial/4-authentication-and-permissions/ https://q1mi.github.io/Django-REST-framework-documentati 阅读全文
posted @ 2019-12-09 16:10 venicid 阅读(278) 评论(0) 推荐(0) 编辑
摘要: 1、CBV 0、文档 https://q1mi.github.io/Django-REST-framework-documentation/tutorial/3-class-based-views_zh/ https://www.django-rest-framework.org/tutorial/ 阅读全文
posted @ 2019-12-09 14:24 venicid 阅读(332) 评论(0) 推荐(0) 编辑
摘要: 1、请求和响应 1、文档 https://www.django-rest-framework.org/tutorial/2-requests-and-responses/ https://q1mi.github.io/Django-REST-framework-documentation/tutor 阅读全文
posted @ 2019-12-09 11:13 venicid 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 1、序列化 1、官方教程 https://q1mi.github.io/Django-REST-framework-documentation/tutorial/1-serialization_zh/ https://www.django-rest-framework.org/tutorial/1- 阅读全文
posted @ 2019-12-09 10:16 venicid 阅读(346) 评论(0) 推荐(0) 编辑
摘要: 访问groups时,后端报警告 参考blog https://www.cnblogs.com/zhengyionline/p/9232491.html 看到,其实是未排序 方法1:view中取queryset对象实例时 方法2:models中ordery 修改后即可 阅读全文
posted @ 2019-12-08 20:49 venicid 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 更新models字段 出现的问题: 原因: 之前数据表里面已经存在,如果添加,file_type需要默认值 解决: 方法1: 在model字段后面添加, 再执行 方法2: 数据库中找到django_migrations,该表对应,每次makemigrations的每次记录 删除,生成的migrati 阅读全文
posted @ 2019-12-06 10:40 venicid 阅读(4601) 评论(0) 推荐(0) 编辑
摘要: 1、本地镜像发布到阿里云流程 2、镜像的生成方法 1、前面的DockerFile https://www.cnblogs.com/venicid/p/11922378.html#_label1 编写dockerfile 构建build 运行run 2、从容器创建一个新的镜像 3、将本地镜像推送到阿里 阅读全文
posted @ 2019-12-01 17:57 venicid 阅读(351) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 61 下一页