摘要:
数据库配置和前端项目创建 1、封装Response utils.py/exception from rest_framework.response import Response class APIResponse(Response): def __init__(self, code=100, ms 阅读全文
摘要:
pymysql模块的使用 import pymysql # 1、连接数据库 conn = pymysql.connect( user='root', # The first four arguments is based on DB-API 2.0 recommendation. password= 阅读全文