摘要: 1 格式 <template> <div> <center><h1>这是·注册页面</h1></center> <a-form-item label="用户名" v-bind="formlayout"> <a-input v-model="username"/> </a-form-item > <a 阅读全文
posted @ 2020-10-27 21:56 睁yan-ii 阅读(741) 评论(0) 推荐(0) 编辑
摘要: 测试 获取验证码 import smtplib from email.mime.text import MIMEText from email.utils import formataddr #定义参数 my_mail = "2501186626@qq.com" #授权码 my_pass = "qn 阅读全文
posted @ 2020-10-27 21:44 睁yan-ii 阅读(820) 评论(0) 推荐(0) 编辑
摘要: 报错信息 django.core.exceptions.ImproperlyConfigured: mysqlclient 1.4.0 or newer is required; you have 0.10.0. 原因 原因是 MySQLclient 目前只支持到 Python3.4,你使用了更高版 阅读全文
posted @ 2020-10-27 21:35 睁yan-ii 阅读(763) 评论(0) 推荐(0) 编辑
摘要: 1 redis 存储验证码 基本使用 1.1 setting 配置 CACHES = { "default": { "BACKEND": "django_redis.cache.RedisCache", "LOCATION": "redis://127.0.0.1:6379/1", # 使用的库1 阅读全文
posted @ 2020-10-27 21:32 睁yan-ii 阅读(2244) 评论(0) 推荐(0) 编辑