- Jul 21, 2020
- Jul 09, 2020
- Jun 25, 2020
- Feb 26, 2020
-
-
erichard authored
-
erichard authored
-
erichard authored
Use SQLAlchemy instance to query database set path(config.py), initialize object(__init__.py), download flask_sqlalchemy extention(rquirements.txt and use instance to query database (request_db.py).
-
erichard authored
-
erichard authored
cript de population de données des BD test : -voiture.db -codingpool.db
-
erichard authored
-
erichard authored
-
erichard authored
-
erichard authored
Recette : python3 from models import db db.create_all() shell mv test.db voiture.db mv voiture.db instance/ cd instance / sqlite3 voiture.db '.read data_voiture.sql'
-
erichard authored
ce script contient des requêtes SQL d'insertion.
-
- Feb 21, 2020
- Feb 20, 2020
- Jan 30, 2020
- Dec 12, 2019
-
-
erichard authored
-
erichard authored
-
erichard authored
-
erichard authored
Cette variable permet de paramétré l'application (ex. choisir la BD à utiliser).
-
erichard authored
-
erichard authored
-
erichard authored
Cette variable permet de passer une configuration spécifique à l'application au travers de classes (Cf.config.py).
-
erichard authored
-
erichard authored
-