Flask Landing
from flask import Flask
app = Flask(__name__)
@app.route("/")
def hello():
return "Hello World!"
Lessons
Welcome & Requirements
0:57
Walkthrough
5:37
Create a Virtual Environment
2:59
Sublime Text & Reactivate Virtual Environment
2:14
Hello World with Flask
4:59
WSGI for Local Dev
2:52
URL Routing
3:50
Flask App as a Package
4:29
Modules Driving One Purpose
5:13
Render HTML Template
2:45
Render Template Variables
3:26
Keep Logic in Views not Templates
4:11
Jinja Templates & Base HTML
6:57
Render JSON
4:53
Landing Page Form
5:47
POST Method and Request Data
2:28
Validation & CSRF
5:18
Python eval
1:47
Adding CSRF Protection to Flask
4:23
A Form with Flask WTF
4:19
Basic Form Validation with wtforms
4:44
Email & Custom Validation with wtforms
2:54
Render the Flask WTF Form in Template
3:04
Input Class and Placeholder in Flask WTF Forms
2:42
Setup a Database
5:29
Your First SQLAlchemy Model
5:20
Save to Database
3:55
Track Modification Error
2:31
Database Actions in Flask Shell
10:19
Convenience Methods for CRUD
6:56
Saving Data to a Model via a Form
2:59
Validation Form against Database with Model Lookup
4:08
Database Object to Detail View
7:13
First or 404
1:32
Update View and Prefill Form Data
4:33
Save Updates in Update View
6:13
Exclude Items from SQLAlchemy Query
3:32
Delete & Confirm
3:44
List View and Redirects
3:54
Navbar with Include
2:20
Dynamic URL Paths with url_for
3:15
url_for with Arguments
3:17
Signals
7:39
Change Models with Flask Migrate
5:27
Fresh Migrate and DB
2:19
Migrate Again
7:37
Password Protect a View
7:15
Prep Landing Page for Production
4:36
Gunicorn Server
2:07
Heroku and Live App
9:49
Making Changes for Production
5:12
Custom Domain
1:52
Adding HTTPs using ACM
3:07
Suggested Next Steps
3:36
Thank you
0:47