You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
557 B

import os
class Config:
# SECRET_KEY = os.environ.get('SECRET_KEY') or 'your_secret_key'
# SQLALCHEMY_TRACK_MODIFICATIONS = False
SECRET_KEY = '8665e31a29ab7e12cb0f92c1dbobj1e3a6a15230fb17'
# SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL') or
# 'postgresql://username:password@localhost:5432/your dbname'
SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL') or 'mysql+pymysql://root:1625344721Qq%40@localhost/mini12306'
SQLALCHEMY_TRACK_MODIFICATIONS = False
REDIS_URL = "redis://:123456@localhost:6379/0"