摘要: 安装docker 并配置仓库加速器 https://support.huaweicloud.com/usermanual-swr/swr_01_0006.html docker 命令 阅读全文
posted @ 2020-02-24 22:20 阿里云的奥斯卡 阅读(924) 评论(0) 推荐(0) 编辑
摘要: 访问方式 GET /sms_codes/{mobile}/?imange_code_id=xxx& text=xxx 返回数据: message str OK发送成功 序列化器 class CheckImageCodeSerializer(serializers.Serializer): """ 图 阅读全文
posted @ 2020-02-24 20:51 阿里云的奥斯卡 阅读(249) 评论(1) 推荐(0) 编辑
摘要: 我们现在在工程目录/meiduo_mall/apps中创建Django应用users,并在配置文件中注册users应用。 python manage.py startapp users > INSTALL_APPS注册 class User(AbstractUser): """用户模型类""" mo 阅读全文
posted @ 2020-02-24 14:04 阿里云的奥斯卡 阅读(159) 评论(0) 推荐(0) 编辑