会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Vera_y
博客园
首页
新随笔
联系
订阅
管理
1
2
3
4
5
···
14
下一页
2020年9月15日
Linux修改文件权限
摘要: 查看文件当前权限: hacker@hmtx-star:/home$ ll total 12 drwxr-xr-x 3 root root 4096 4月 16 09:50 ./ drwxrwxrwx 24 root root 4096 7月 23 16:41 ../ drwxr--r-- 55 ha
阅读全文
posted @ 2020-09-15 17:05 yin_zhaozhao
阅读(197)
评论(0)
推荐(0)
2020年7月16日
Django集成swagger
摘要: 版本信息: python==3.6 django==1.11.17 djangorestframework==3.11.0 1.安装 pip install django-rest-swagger 版本信息: django-rest-wagger==2.2.0 2.配置 2.1.在settings.
阅读全文
posted @ 2020-07-16 14:18 yin_zhaozhao
阅读(1218)
评论(0)
推荐(0)
2020年7月13日
记录大佬sorted操作
摘要: dl = [ { "viewTimes": 236, "topTimes": 49, "stepsNum": 76, "collTimes": 321 }, { "viewTimes": 236, "topTimes": 47, "stepsNum": 58, "collTimes": 344 },
阅读全文
posted @ 2020-07-13 13:05 yin_zhaozhao
阅读(140)
评论(0)
推荐(0)
2020年5月27日
APIView 简单接口编写
摘要: View.py from ast import literal_eval import snowflake.client # 雪花算法存id from rest_framework.response import Response from rest_framework.views import A
阅读全文
posted @ 2020-05-27 11:44 yin_zhaozhao
阅读(349)
评论(0)
推荐(0)
2020年5月21日
记一次:ORM查询到数据后,返回前端前,对数据做出修改
摘要: 记一次:ORM查询到数据后,返回前端前,对数据做出修改 本次修改是直接在序列化中作出的修改 from app01.models import BusinessOpportunities, UserRecommendSetting class BusinessOpportunitiesSerializ
阅读全文
posted @ 2020-05-21 14:09 yin_zhaozhao
阅读(436)
评论(0)
推荐(0)
2020年5月20日
models_ORM 过滤器查询详情
摘要: 查询一条数据: 模型名称.objects.get(字段=) BusinessInfo.objects.get(id=006f1884-95a4-11ea-a294-00f1f3f8013d) 模糊查询多条数据:filter() cty = request.GET.get('country') Bus
阅读全文
posted @ 2020-05-20 15:19 yin_zhaozhao
阅读(195)
评论(0)
推荐(0)
2020年5月13日
ubuntu(linux mint) 安装mysql
摘要: 1、安装: sudo apt-get install mysql-server mysql-common mysql-client sudo /etc/init.d/mysql restart可能出现的问题: “dpkg 被中断,您必须手工运行 sudo dpkg –configure -a解决此问
阅读全文
posted @ 2020-05-13 17:28 yin_zhaozhao
阅读(600)
评论(0)
推荐(0)
2020年5月12日
记一次 css样式的使用
摘要: 1.实现效果: 1.1.代码 <div class="s_center"> <span style="letter-spacing: 10px;">居中文字</span> <!--letter-spaciing:设置文字间间距--> </div> <style scoped> .s_center{
阅读全文
posted @ 2020-05-12 18:17 yin_zhaozhao
阅读(147)
评论(0)
推荐(0)
Vue -- element - ui 中form表单校验 参数解释
摘要: 1.复制https://element.eleme.cn/#/zh-CN/component/form代码 2.粘贴 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px" class="demo-ru
阅读全文
posted @ 2020-05-12 17:49 yin_zhaozhao
阅读(1929)
评论(0)
推荐(0)
Ubuntu系统 ,鼠标双击搜索框内容 ,内容会被自动删除
摘要: Ubuntu系统火狐浏览器中,鼠标选择的内容会被自动删除IBus(英文全称为Intelligent Input Bus),是GNU/Linux和类UNIX操作系统下的以GPL协议分发源代码的开源免费多语言输入法框架。 问题的原因是Ubuntu 中ibus-setup输入法框架的设置问题。在终端输入命
阅读全文
posted @ 2020-05-12 17:27 yin_zhaozhao
阅读(996)
评论(0)
推荐(0)
1
2
3
4
5
···
14
下一页
公告