Chapter 9. Extensions, How I Love Thee

We have been using extensions to amplify our examples for a few chapters now; Flask-SQLAlchemy was used to connect to a relational database, Flask-MongoEngine to connect to MongoDB, Flask-WTF to create flexible reusable forms, and so on. Extensions are a great way to add functionality to your projects without adding anything in the way of your code and, if you like what we've done so far, you're going to love this chapter because it is dedicated to extensions!

In this chapter, we'll learn about a few very popular extensions we have neglected so far. Shall we begin?

How to configure extensions

Flask extensions are modules you import, (usually) initialize, and use to integrate with third-party libraries. They're ...

Get Building Web Applications with Flask now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.