Spaces:
Runtime error
Runtime error
File size: 308 Bytes
2baf1c8 |
1 2 3 4 5 6 7 8 9 10 11 12 |
from app import create_app
from app import db
from app.models import Question # ou 'import app.models' selon ton organisation
app = create_app()
with app.app_context():
db.create_all() # Crée toutes les tables qui n'existent pas encore
if __name__ == '__main__':
app.run(debug=True)
|