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
Linux_shellcode总结 参考https://b0ldfrev.gitbook.io/note/pwn/linux_shellcode 在寄存器都是非理想值情况下(shellcode可根据环境具体触发时寄存器的值做长度调整),本着最优通用的原则,整理了Linux下32位和64位最短通用sh ...
分类:
系统相关 时间:
2021-06-02 20:48:28
阅读次数:
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
数据查询语言DQL基本结构是由SELECT子句,FROM子句,WHERE子句组成的查询块: SELECT <字段> FROM <表名> WHERE <查询条件> -- 创建数据库 create database if not exists stu; -- 使用数据库 use stu; -- 创建一个 ...
分类:
数据库 时间:
2021-06-02 19:57:06
阅读次数:
0
from tkinter import messagebox messagebox.showinfo("提示", "我是一个提示框") ...
分类:
编程语言 时间:
2021-06-02 19:46:59
阅读次数:
0