python学习

This commit is contained in:
2020-03-03 15:49:56 +08:00
parent 683c4c6bd8
commit 780443e7d1
4 changed files with 362 additions and 420 deletions

View File

@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
DEBUG = True
SQLALCHEMY_ECHO = True
SQLALCHEMY_DATABASE_URI = 'mysql://root:123456@127.0.0.1/food_db'
SQLALCHEMY_DATABASE_URI = 'mysql://root:~renjianbo0118mysql*&;@127.0.0.1/food_db'
SQLALCHEMY_TRACK_MODIFICATIONS = False
SQLALCHEMY_ENCODING = "utf8mb4"