Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.

Instruction

Updates to Flask-SQLAlchemy

Before we continue our learning journey, it's important to note the following.

Flask-SQLAlchemy has recently been updated to 3.0.0 and has changed how the two libraries interact. To use Flask-SQLAlchemy 3.0.0+ with the rest of this course, we just need to add an additional code block.

In the next video at the 12:00 mark, Megan adds db.create_all() in Dunder Main. All we have to wrap thi...