摘要: 阅读目录(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)
摘要: 网址 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)
摘要: 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)
摘要: 按钮 <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)
摘要: 网址: https://www.jianshu.com/p/56eefe6b40e0 #两个要同时启动后使用 阅读全文
posted @ 2021-03-25 16:40 沈海 阅读(83) 评论(0) 推荐(0)
摘要: <!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)
摘要: 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)
摘要: 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)
摘要: 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)
摘要: 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)