livraison sans DELETE et sans FINDID

This commit is contained in:
2022-06-12 21:32:08 +02:00
parent e3c55b477f
commit 6aedf00bd2
5 changed files with 74 additions and 48 deletions

View File

@@ -1,11 +1,16 @@
MYSQL_HOST = "172.18.0.3"
MYSQL_PORT = 3306
MYSQL_USER = "api-python"
MYSQL_PWD = "api-python"
#MYSQL_HOST = '172.18.0.3'
MYSQL_HOST = 'localhost'
MYSQL_PORT = '3306'
MYSQL_USER = "root"
MYSQL_PWD = "kamisama123"
#MYSQL_USER = "api-python"
#MYSQL_PWD = "api-python"
MYSQL_DB = "api-python"
SQLALCHEMY_DATABASE_URI = "mysql+pymysql://{}:{}@{}:{}/{}".format(MYSQL_USER,
MYSQL_PWD,
MYSQL_HOST,
MYSQL_PORT,
MYSQL_DB)
MYSQL_DB)
#nécessite les modules sqlalchemy et flask de python