- 博客(1)
- 资源 (3)
- 收藏
- 关注
原创 Powershell 时间相关
$start = Get-DateGet-HotFix$end = Get-DateWrite-Host -ForegroundColor Red ('Total Runtime: ' + ($end - $start).TotalSeconds)//若开始时间保存为字符串$startTime = Get-Date -Format 'yyyyMMddTHH:mm:ss'$startTime=[datetime]::ParseExact("$startTime","yyyyMMddTH...
2020-09-10 11:42:48 854
drf_serializer.zip
1.django rest framwork 序列化的简单例子
2.APIView,GenericAPIView例子
3.ListModelMixin,CreateModelMixin,UpdateModelMixin,DestroyModelMixin,RetrieveModelMixin例子
4.action用法,自定义认证/过滤/排序的简单例子。
5.路由分发,自动分发。
2021-10-21
person 增删改查--ORM1.rar
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>用户列表</title>
</head>
<body>
<a href="/add_person/">添加用户</a>
<table border="1">
<thead>
<tr>
<th>ID</th>
<th>firsName</th>
<th>lastName</th>
<th>操作</th>
</tr>
</thead>
<tbody>
{% for user in user_list %}
<tr>
<td>{{ user.id }}</td>
<td>{{ user.first_name }}</td>
<td>{{ user.last_name }}</td>
<td><a href="/delete_person/?id={{ user.id }}">删除</a>
<a href="/edit_person/?id={{ user.id }}">编辑</a>
</td>
</tr>
{% endfor %}
</tbody>
</table>
</body>
</html>
2019-11-30
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人