会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
沈海
博客园
首页
新随笔
联系
订阅
管理
2021年12月2日
OOAD设计模式
摘要: 阅读目录(Content) OOAD-设计模式(一)概述 - LanceToBigData - 博客园 (cnblogs.com) 一、什么是面向对象 二、面向对象的特点 2.1、抽象 2.2、封装 2.3、继承 2.4、多态 三、OOP(面向对象编程) 3.1、对象分类 3.2、类(对象)之间的关
阅读全文
posted @ 2021-12-02 18:42 沈海
阅读(211)
评论(0)
推荐(0)
2021年6月10日
django 框架模型之models常用的Field
摘要: 网址 https://blog.csdn.net/weixin_37773766/article/details/80330221 1. django 模型models 常用字段 1、models.AutoField 自增列 = int(11) 如果没有的话,默认会生成一个名称为 id 的列 如果要
阅读全文
posted @ 2021-06-10 15:09 沈海
阅读(560)
评论(0)
推荐(0)
2021年4月8日
数据可视化pyEcharts
摘要: pyecharts包含的图表 https://www.cnblogs.com/jyroy/p/9446486.html Bar(柱状图/条形图) Bar3D(3D 柱状图) Boxplot(箱形图) EffectScatter(带有涟漪特效动画的散点图) Funnel(漏斗图) Gauge(仪表盘)
阅读全文
posted @ 2021-04-08 18:02 沈海
阅读(75)
评论(0)
推荐(0)
2021年4月1日
Pycharm_Django_Html写法
摘要: 按钮 <td><button>添加</button></td> 单选按钮写法<td> <input type="radio" name="gender" checked="checked">男 <input type="radio" name="gender">女</td>#checked 为默认选
阅读全文
posted @ 2021-04-01 17:58 沈海
阅读(114)
评论(0)
推荐(0)
2021年3月25日
Python实现简易Tcp客户端与服务端
摘要: 网址: https://www.jianshu.com/p/56eefe6b40e0 #两个要同时启动后使用
阅读全文
posted @ 2021-03-25 16:40 沈海
阅读(83)
评论(0)
推荐(0)
2021年3月15日
HTML登录注册
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <script scr="static/js/jquery.js"></script> <script> $(document).rea
阅读全文
posted @ 2021-03-15 14:49 沈海
阅读(400)
评论(0)
推荐(0)
Django增删改查
摘要: def show(request): i_all = Info.objects.all() if request.method =="GET": return render(request,"show.html",{"i_all":i_all}) else: name = request.POST.
阅读全文
posted @ 2021-03-15 14:45 沈海
阅读(59)
评论(0)
推荐(0)
Django登录
摘要: def login(request): if request.method =="GET": return render(request,"login.html") else: eamil = request.POST.get("eamil") password = request.POST.get
阅读全文
posted @ 2021-03-15 14:42 沈海
阅读(41)
评论(0)
推荐(0)
2020年12月14日
Django的settings.py文件
摘要: TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [os.path.join(BASE_DIR, 'templates')] , 'APP_DIRS': True, 'OPTIO
阅读全文
posted @ 2020-12-14 09:00 沈海
阅读(77)
评论(0)
推荐(0)
Django的urls.py文件
摘要: urlpatterns = [ path('admin/', admin.site.urls), path('insert_all/', views.index), path('', views.show, name="show"), path('insert/', views.insert, na
阅读全文
posted @ 2020-12-14 08:45 沈海
阅读(94)
评论(0)
推荐(0)
公告