Using Init App With Flask Extensions (1 of 2)

In this video I show you how to use the init app method when using Flask extensions. Alone it doesn't mean much, but with the app factory pattern, it can be powerful. Get the code here: https://s3.us-east-2.amazonaws.com/prettyprinted/u...

READ MORE

Understanding the jQuery Click Event

The click event in jQuery is one of the most used events you could listen for. In this video, I show you the basics of the click event. Get the code here: https://s3.us-east-2.amazonaws.com/prettyprinted/j...

READ MORE

The jQuery Hide, Show, and Toggle Functions

The jQuery functions hide, show, and toggle are very useful in any app that uses jQuery. In this video, I show you how they work and how you can use the duration and callback function for each. Get the code here:

READ MORE

Understanding the Lazy Parameter in Flask-SQLAlchemy Relationships

In this video, I will help you understand how the lazy parameter in Flask-SQLAlchemy relationships works and the four options you can use for it. The four options are: select, joined, subquery, and dynamic. Download the code here: https://s3.us-east-2.amazonaws.com/prettyprinted/s...

READ MORE

Integrating Flask-Dance With Flask-Login and Flask-SQLAlchemy (Part 2)

In this video, I show you how to combine Flask-Dance, Flask-Login, and Flask-SQLAlchemy so you can use OAuth in your Flask app. For this example, I show you how to use Twitter OAuth, but it applies to other providers as well. Get the code here:...

READ MORE

Connect to Twitter and Github With OAuth in Flask Using Flask-Dance (Part 1)

You can use OAuth as a way to authenticate users in your Flask app, among other videos. In this video, I'll show you how to connect to Twitter and Github using Flask-Dance to use OAuth to get the login information for the users. This will serve as a basis of building a login system around the...

READ MORE

Bulk Updates and Deletes in Flask-SQLAlchemy

In this video I show you how to write queries and then bulk update and delete the resulting records from those queries. Instead of having to update or delete each record one by one, bulk queries can be done all at once.

READ MORE

Creating a Todo List App With Flask and Flask-SQLAlchemy

A todo list app is a simple app that demonstrates many things that go into much more complicated apps. In this video, I use Flask and the Flask-SQLAlchemy extension to build a todo list app. Get the code here: https://s3.us-east-2.amazonaws.com/prettyprinted/t...

READ MORE

Creating Paypal Express Payments in a Flask App

Get the code here: https://s3.us-east-2.amazonaws.com/prettyprinted/p...

READ MORE

Intro to Flask-Babel: Translations (Part 2 of 2)

Translations is the other thing Flask-Babel can do, so in this video, I'll show you how to detect locales and create translations for different languages using Flask-Babel. Download the code here: https://s3.us-east-2.amazonaws.com/prettyprinted/b...

READ MORE