Includes - Flask Web Development with Python 26

Channel:
Subscribers:
1,410,000
Published on ● Video Link: https://www.youtube.com/watch?v=ggRZuOiFPg0



Duration: 11:18
9,822 views
57


In this tutorial, we're going to be discussing including templates, as compared to extending templates with the web development framework for Python, Flask.

If you recall, extending templates was useful for things like headers and footers that would be on every page. Extending templates meant you had a main template, like a header.html, and then every other file pretty much "extended" that main one. What if, however, you some something like, say, a comment box that you want to have on a lot of pages, but not necessarily all? Maybe instead of a comment box, it's some questions and challenges to conditionally appear for +=1 subscribers, who knows! How might we do something like this?

Text-based tutorial/sample code: http://pythonprogramming.net/flask-includes-tutorial/




Other Videos By sentdex


2015-12-17Loading Video Source - OpenCV with Python for Image and Video Analysis 2
2015-12-16Intro and loading Images - OpenCV with Python for Image and Video Analysis 1
2015-12-13Integrating Paypal with Flask - Flask Web Development with Python 34
2015-12-11Pygal SVG embedded Graphs - Flask Web Development with Python 33
2015-12-08jQuery with Flask - Flask Web Development with Python 32
2015-12-06Protected directories and Files - Flask Web Development with Python 31
2015-11-30Return Files with send_file - Flask Web Development with Python 30
2015-11-27Flask Mail - Flask Web Development with Python 29
2015-11-23URL Converters - Flask Web Development with Python 28
2015-11-18Jinja Templating Cont'd - Flask Web Development with Python 27
2015-11-16Includes - Flask Web Development with Python 26
2015-11-08Scikit Learn Incorporation - p.16 Data Analysis with Python and Pandas Tutorial
2015-11-03Rolling Apply and Mapping Functions - p.15 Data Analysis with Python and Pandas Tutorial
2015-10-29Adding other economic indicators - p.14 Data Analysis with Python and Pandas Tutorial
2015-10-27Joining 30 year mortgage rate - p.13 Data Analysis with Python and Pandas Tutorial
2015-10-21Applying Comparison Operators to DataFrame - p.12 Data Analysis with Python and Pandas Tutorial
2015-10-17Rolling statistics - p.11 Data Analysis with Python and Pandas Tutorial
2015-10-12Handling Missing Data - p.10 Data Analysis with Python and Pandas Tutorial
2015-10-09Resampling - p.9 Data Analysis with Python and Pandas Tutorial
2015-10-05Percent Change and Correlation Tables - p.8 Data Analysis with Python and Pandas Tutorial
2015-10-03Pickling - p.7 Data Analysis with Python and Pandas Tutorial



Tags:
Python (Programming Language)
Flask (Software)
website
create
develop
dev
tutorial
how-to
django
web2py
app
webapp
web app
framework
paradigm
Web Development (Interest)
include