- 博客(1)
- 资源 (3)
- 收藏
- 关注
原创 C#字符串:转数组、数字
1.List<string> 转数组,字符串string[] strs= list.ToArray();string s = string.Join(",", list.ToArray());2.字符串是否数字if (int.TryParse(i, out a)== false)3.获取文件扩展名strings1 = Path.GetExtension(@"...
2018-08-20 14:55:31 831
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关注的人