The Teclado Blog
  • Start Learning Python
  • Store
  • Courses

Flask

A collection of 11 posts

All Posts • 30 Days of Python • Coding Interview Problems • Flask • GUI Development • Learn Python Programming • Python Snippets • REST APIs • Understanding the Console • Web Development
Flashing messages with Flask
Flask

Flashing messages with Flask

Learn how to temporarily show messages in your websites when using Flask, by using the built-in message flashing mechanism. It's flexible yet straightforward!

    Jose Salvatierra
    5 min read · Sep 19
Handling the next URL when logging in with Flask
Flask

Handling the next URL when logging in with Flask

Learn how to redirect users to their intended destination after logging in, instead of a default "profile" page every time. Simple, but can have a big impact in user experience!

    Jose Salvatierra
    5 min read · Aug 15
Protecting endpoints in Flask apps by requiring login
Flask

Protecting endpoints in Flask apps by requiring login

In this post we'll learn to prevent unauthorised logins to our Flask endpoints. We'll also look at decorators so that we can secure endpoints with a single line of code for each!

    Jose Salvatierra
    6 min read · Jul 25
How to add user logins to your Flask website
Flask

How to add user logins to your Flask website

Authentication (log in and sign up) can be tricky. In this blog post we'll guide you through adding it to a website or web app built entirely with Flask!

    Jose Salvatierra
    6 min read · Jul 11
Simple JWT Authentication with Flask-JWT
Flask

Simple JWT Authentication with Flask-JWT

Adding authentication in Flask applications can be really straightforward. Learn more about token-based authentication with Flask-JWT in this post.

    Jose Salvatierra
    5 min read · Jun 20
What is CORS and how to "fix" it
Web Development

What is CORS and how to "fix" it

CORS is a security feature of browsers, but is configured in the server side. It is used to control requests coming in from different domains. Learn more in this post!

    Li Yin
    5 min read · Jun 6
Token Authentication and Refreshing using Flask-JWT-Extended
Flask

Token Authentication and Refreshing using Flask-JWT-Extended

JWTs are great for processing authentication in a REST API. How can you stop requiring users provide their username and password every time the token expires? Learn about token-based authentication and token refresh!

    Li Yin
    4 min read · May 7
Should I learn Flask or Django?
Learn Python Programming

Should I learn Flask or Django?

Flask and Django are two behemoths of Python web development. Which one should you learn?

    Jose Salvatierra
    2 min read · Jan 2
Advanced configuration of Flask-JWT
Flask

Advanced configuration of Flask-JWT

Flask-JWT is a great library to add user authentication to our Flask apps. Sometimes we want to configure it past what it gives us out of the box. Learn how in this post!

    Jose Salvatierra
    3 min read · Dec 19
Defining User Access Levels in Flask
Flask

Defining User Access Levels in Flask

Access levels can be a tricky thing—having users, moderators, and administrators. How can you handle allowing access only to certain things to certain people?

    Jose Salvatierra
    6 min read · Nov 18
Password encryption with Flask and Python
Flask

Password encryption with Flask and Python

Why encrypt? It's normal when you start making software to not worry about many things: performance, security, or even the products you make. However, if you have a product that people are starting

    Jose Salvatierra
    2 min read · Sep 2
The Teclado Blog © 2021
Privacy Policy