Skip to content
Snippets Groups Projects
Commit 28e78faf authored by thomaswoehlke's avatar thomaswoehlke
Browse files

work

parent 1638bc9e
No related branches found
No related tags found
1 merge request!162Refactoring 2021 05 20 start
......@@ -10,7 +10,7 @@ Flask-Caching>=1.10.1
celery[redis]>=5.0.5
SQLAlchemy>=1.4.15
memcache>=0.5.1
PyMySQL>=1.0.2
mysql-connector-python>=8.0.25
# psycopg2-binary>=2.8.6
wget>=3.2
pyecharts>=1.9.0
......
......@@ -45,7 +45,7 @@ def create_app():
login_manager.init_app(my_app)
my_app.config.from_object("config")
# my_db_url = 'postgresql+psycopg2://{user}:{pw}@{url}/{db}'.format(
my_db_url = 'postgresql+psycopg2://{user}:{pw}@{url}/{db}'.format(
my_db_url = 'mysql://{user}:{pw}@{url}/{db}'.format(
user=my_app.config['SQLALCHEMY_DATABASE_USER'],
pw=my_app.config['SQLALCHEMY_DATABASE_PW'],
url=my_app.config['SQLALCHEMY_DATABASE_HOST'],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment