python学习

This commit is contained in:
2019-07-21 18:20:01 +08:00
parent 7bd7a50cff
commit 11752bbb8d
405 changed files with 72156 additions and 529 deletions

View File

@@ -1 +1 @@
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-

View File

@@ -1,4 +1,16 @@
# -*- coding: utf-8 -*-
SERVER_PORT = 8999
DEBUG = False
SQLALCHEMY_ECHO = False
SQLALCHEMY_ECHO = False
AUTH_COOKIE_NAME = "mooc_food"
##过滤url
IGNORE_URLS = [
"^/user/login"
]
IGNORE_CHECK_LOGIN_URLS = [
"^/static",
"^/favicon.ico"
]

View File

@@ -1,6 +1,7 @@
# -*- coding: utf-8 -*-
SERVER_PORT = 9000
DEBUG = True
SQLALCHEMY_ECHO = True
SQLALCHEMY_DATABASE_URI = 'mysql://root:123456@127.0.0.1/mysql?charset=utf8mb4'
SQLALCHEMY_DATABASE_URI = 'mysql://root:123456@127.0.0.1/food_db'
SQLALCHEMY_TRACK_MODIFICATIONS = False
SQLALCHEMY_ENCODING = "utf8mb4"