Python Flask Tutorial: Full-Featured Web App Part 11 - Blueprints and Configuration

Опубликовано: 04 Октябрь 2024
на канале: Corey Schafer
185,291
3.7k

In this Python Flask Tutorial, we will be learning how to restructure our application to use blueprints. Blueprints allow us to split up our application into more manageable sections. We will also move our configuration into its own file and create a configuration class. Lastly, we will move the creation of our application into its own function. This is called an Application Factory, and it allows us to easily create multiple instances of our app with different configurations. Let's get started...

The code for this series can be found at:
https://github.com/CoreyMSchafer/code...

Environment Variables (Windows):
   • Python Quick Tip: Hiding Passwords an...  

Environment Variables (Mac and Linux):
   • Python Quick Tip: Hiding Passwords an...  


✅ Support My Channel Through Patreon:
  / coreyms  

✅ Become a Channel Member:
   / @coreyms  

✅ One-Time Contribution Through PayPal:
https://goo.gl/649HFY

✅ Cryptocurrency Donations:
Bitcoin Wallet - 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3
Ethereum Wallet - 0x151649418616068fB46C3598083817101d3bCD33
Litecoin Wallet - MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot

✅ Corey's Public Amazon Wishlist
http://a.co/inIyro1

✅ Equipment I Use and Books I Recommend:
https://www.amazon.com/shop/coreyschafer

▶️ You Can Find Me On:
My Website - http://coreyms.com/
My Second Channel -    / coreymschafer  
Facebook -   / coreymschafer  
Twitter -   / coreymschafer  
Instagram -   / coreymschafer  

#Python #Flask