I’m Matt Layman.

I want to help you learn more about Django and Python.

  • #Python
  • #Django
  • #files

User File Use

Maybe your app needs to handle files from users like profile pictures. Accepting files from others is tricky to do safely. In this article, we’ll see the tools that Django provides to manage files safely.

  • #Python
  • #Django
  • #sessions

Episode 15 - User Session Data

On this episode, we will dig into a data storage technique that Django makes heavy use of for visitors to your site. This category of data is called session data.

  • #teams
  • #organization

Team Topologies: a review

Does your team’s organizational structure make sense for your company? Team Topologies provides a way to think about building teams. This review blends my own experience with the views laid out by the authors.

  • #Python
  • #Django
  • #deployment

Episode 14 - Going Live

On this episode, we will look at what it takes to go live and how to prepare your Django project for the internet.

  • #Python
  • #Django
  • #settings

Making Sense Of Settings

All Django apps need to be configured in order to run properly. In this article, we will dig into how Django lets you configure your project using a settings module. We’ll also look at ways to be extra effective with settings.

  • #Python
  • #Django
  • #testing

Episode 13 - Does My Site Work?

On this episode, we will discuss how you can verify that your site works and continues to work. We’re digging into automated testing and how to write tests for your Django apps.

  • #Python
  • #Django
  • #sessions

Per-visitor Data With Sessions

How does Django know when a user is logged in? Where can the framework store data for a visitor on your app? In this article, we’ll answer those questions and look at a storage concept in Django called sessions.

  • #Python
  • #Django
  • #deployment

Deploy A Site Live

You’re ready to take the site you developed and share it with the world. What steps should you take to prepare your Django project for life on the web? That’s the focus of this article.

  • #Python
  • #Django
  • #tests

Test Your Apps

How do you confirm that your website works? You could click around and check things out yourself, or you can write code to verify the site. I’ll show you why you should prefer the latter. In this Understand Django article, we’ll study automated tests to verify the correctness of your site.

  • #Python
  • #Django
  • #static

Episode 12 - Success With Static Files

On this episode, our focus will be on static files. Static files are vital to your application, but they have little to do with Python code. We’ll see what they are and what they do.

  • #Python
  • #Django
  • #htmx

How To Use Htmx In Django

How do you use htmx (the lightweight JavaScript library that uses HTML markup) in Django? This article shows how and provides an example usage.

  • #Python
  • #Django
  • #Flask

Are Django and Flask Similar?

If you’re into Python and new to web development, you may have questions about Python’s popular web application packages: Django and Flask. This article compares the two so you can figure out which one might be a better fit for you.

  • #Python
  • #Django
  • #version

Which Django Version Should I Use?

New to Django and uncertain of what to use? This article explains which version of Django you should use.

  • #Python
  • #Django
  • #middleware

Episode 11 - Here, There, Middleware

On this episode, we will investigate Django middleware and see where it goes in your project. In the process, you’ll see why middleware is useful and how you can work with it.

  • #Python
  • #Django
  • #static

Serving Static Files

In this Understand Django article, we’ll examine static files. Static files are critical to apps, but have little to do with Python code. We’ll see what they are and what they do.

  • #Python
  • #Django
  • #middleware

Middleware Do You Go?

The topic for this Understand Django article is middleware. We’ll see what middleware is, what it is used for in a Django project, and how to write your own.

  • #Python
  • #Django
  • #Tailwind
  • #Heroku

How To Set Up Tailwind CSS In Django On Heroku

In this quick article, I showed how I set up Tailwind CSS for my Django app on Heroku.

  • #Python
  • #Django
  • #auth

Episode 10 - User Auth

On this episode, we’re going to look at working with users in a Django project. We’ll see Django’s tools for identifying users and checking what those users are permitted to do on your website.