摘要:
修改数据 from django.conf.urls import url from .api import workflow,workflowline urlpatterns = [ url(r'^updateWorkFlowLine/(?P\d+)/$', workflowline.WorkFlowLineUpdate.as_view()), ] from rest_fra... 阅读全文
摘要:
非常好 DRF执行流程源码解析 https://blog.csdn.net/qq_43677746/article/details/100145691 完整的知识点可以让你完整看懂源码 https://www.cnblogs.com/suguangti/p/11120793.html https:/ 阅读全文
摘要:
演示地址: https://nirongxu.github.io/vue-xuAdmin/dist/#/login 仓库地址: https://github.com/Nirongxu/vue-xuAdmin 阅读全文
摘要:
原文:https://blog.csdn.net/qq_42684307/article/details/81042845 阅读全文
摘要:
1、获取秒级时间戳与毫秒级时间戳、微秒级时间戳 输出: 2、获取当前日期时间 返回: 3、将日期转为秒级时间戳 返回: 4、将秒级时间戳转为日期 返回 5、时间格式转成另一种时间格式 返回 6、转结构体时间struct_time 返回 阅读全文
摘要:
输出 阅读全文
摘要:
Oracle 实现表中id字段自增长 最近正在学习Oracle的时候发现Oracle表中的字段不能像mysql中那样可以用auto increment修饰字段从而让id这种主键字段实现自增长. 那Oracle中是怎么实现字段自增长呢? 1. 首先创建一个表 这个餐桌表中的id字段是我们的主键,我们希 阅读全文
摘要:
import json data = json.dumps(list(my_table.objects.all().values())) return HttpResponse(data) 阅读全文
摘要:
一般所说的 select COLUMN_NAME from information_schema.COLUMNS where table_name = '表名'; 如果其他库存在同样的表会查询出多份重复的字段名,如下: 阅读全文
摘要:
# 登录mysql mysql -u root -p # 修改加密规则 mysql> ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY '新密码'; #更新一下用户的密码 mysql> ALTER USER 'root'@'%' IDENTIFIED BY 'password' PASSWORD EXPIRE NEVER; 阅读全文