Summary

We've fleshed out our application's functionality, and it's now a lot more powerful. We added Dashboard and Account pages, and wrote all the application code, database code, and frontend code to handle our requirements.

We looked at Jinja templates as a way to avoid duplicating the frontend code, and we also looked at how to use the bitly API to shorten links.

We then added WTForms, and saw how this could make our user feedback easier, our forms easier to validate, and our web application more secure. Our users are now kept up-to-date with information about their registration, login, and usage of the application.

In the next chapter, we'll add a real database to our code and then work on some finishing touches.

Get Flask By Example 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.