In this video I'll show you how to start using Databases with Flask and Python.
We'll be creating a database to keep track of our Friends list. We'll use sqlite3 and sqlalchemy for the database.
Using a database in flask is fairly easy, you just add sqlalchemy to your app, then create a model that defines your database table and columns. Then adding and retrieving things from the database is trivial.
15 авг 2024