Summary

Project Source Code

Get the project source code below, and follow along with the lesson material.

Download Project Source Code

To set up the project on your local machine, please follow the directions provided in the README.md file. If you run into any issues with running the project source code, then feel free to reach out to the author in the course's Discord channel.

Summary

Templating with Jinja helps us build web pages quickly and using the features within Jinja can make Flask developers even more productive. Over the next chapters, we'll use more Jinja functionality.

  • Development speed: We can quickly write new pages with built-in formatting functionality
  • Less code duplication: Using layouts allow us to avoid duplicating layout and HTML document structure. Macros allow us to define
  • Separation of concerns: Templates allow us to focus on specifically the unique parts of the page instead of having to worry about the whole page.
  • Security: If we ever display user generated text, it can help us ensure we properly escape values so we don't create a security vulnerability.

This lesson preview is part of the Fullstack Flask: Build a Complete SaaS App with Flask course and can be unlocked immediately with a \newline Pro subscription or a single-time purchase. Already have access to this course? Log in here.

Unlock This Course

Get unlimited access to Fullstack Flask: Build a Complete SaaS App with Flask, plus 70+ \newline books, guides and courses with the \newline Pro subscription.

Thumbnail for the \newline course Fullstack Flask: Build a Complete SaaS App with Flask