1.编写Dockerfile FROM java:8 # 作者 MAINTAINER lyh <335726817@qq.com> # VOLUME 指定了临时文件目录为/tmp。 # 其效果是在主机 /var/lib/docker 目录下创建了一个临时文件,并链接到容器的/tmp VOLUME / ...
分类:
编程语言 时间:
2021-06-03 18:08:49
阅读次数:
0
views.py视图导入 from django.shortcuts import HttpResponse, render, redirect 1.HttpResponse 它是作用是内部传入一个字符串参数,然后发给浏览器。 例如: def index(request):# 业务逻辑代码 retu ...
分类:
Web程序 时间:
2021-06-03 18:03:57
阅读次数:
0
auth模块通俗来讲 就是django内部所给你提供auth_user表,这可以联系到 登录 注册 注销等功能, 在auth模块下的一套体系,都有自己的方式来提供装饰器,以及校验数据等 且较为方便 校验用户数据是否匹配, 登录功能 from django.contrib import auth us ...
分类:
其他好文 时间:
2021-06-03 17:58:57
阅读次数:
0
#-*-coding:utf-8-*- # @Time :2021/4/22 7:08 # @Author:shuaichao # @File :.py # @Software: PyCharm from bs4 import BeautifulSoup #网页解析,获悉数据.231 import ...
分类:
其他好文 时间:
2021-06-03 17:56:50
阅读次数:
0
问题1:harbor服务不能正常提供? Error response from daemon: Get http://hub.atguigu.com/v2/: dial tcp 192.168.66.100:80: connect: connection refused 原因分析:harbor服务器 ...
分类:
其他好文 时间:
2021-06-03 17:53:13
阅读次数:
0
In Microsoft Dynamics 365 Finance and Operations there are two APIs strategies that support file-based integration scenarios: Data management framewor ...
# coding=utf-8 import smtplib from email.mime.text import MIMEText msg_from = 'abcdefghi@qq.com' # 发送方邮箱 passwd = 'abcdefghijklmn' # 填入发送方邮箱的授权码 msg_t ...
分类:
编程语言 时间:
2021-06-03 17:39:06
阅读次数:
0
1.1使用“||”连接 select user_name,'姓名:'||CHINA_NAME name from sys_user where user_name ='admin' 1.2使用CONCAT()函数连接 在使用这个函数时,当拼接的值不是字符串时,oracle会自动转换成字符串。 sel ...
分类:
数据库 时间:
2021-06-02 20:26:01
阅读次数:
0
part1数据探索及数据处理 数据处理 # 复制原数据 df3 = df.copy() df3.info() <class 'pandas.core.frame.DataFrame'> RangeIndex: 3004 entries, 0 to 3003 Data columns (total 7 ...
分类:
其他好文 时间:
2021-06-02 20:25:18
阅读次数:
0
数据查询语言DQL基本结构是由SELECT子句,FROM子句,WHERE子句组成的查询块: SELECT <字段> FROM <表名> WHERE <查询条件> -- 创建数据库 create database if not exists stu; -- 使用数据库 use stu; -- 创建一个 ...
分类:
数据库 时间:
2021-06-02 19:57:06
阅读次数:
0