知了课堂项目part1
一.基础配置1.在配置文件config.py中写密钥,防止CSRF攻击import osDEBUG = TrueSECRET_KEY = os.urandom(24)HOSTNAME = ‘127.0.0.1’PORT = ‘3306’DATABASE = ‘ketang’USERNAME = ‘root’PASSWORD = ‘123456’DB_URI = ‘mysql + m...