I’m Matt Layman.

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

  • #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.

  • #Python
  • #Django
  • #Hugo
  • #WhiteNoise
  • #Gunicorn

Make A Hugo Static Blog Inside A Django App

Without using a subdomain, Django’s static files, or a reverse proxy, can you build a statically generated blog into your Django app? Yes! I’ll show you how I created a static blog in Hugo and added it to my Django project.

  • #Python
  • #Django
  • #authentication
  • #authorization

User Authentication

Our focus in this Understand Django article is how to manage users in your Django application. We’ll study Django’s built-in user authentication system.

  • #Python
  • #Django
  • #applications

Episode 9 - Application Examination

On this episode, we will study the structure of a Django application. Applications are the core components that make up a Django project.

  • #Python
  • #Django
  • #django-hijack

Hijack To Help Customers

When customers report their thorniest problems and all of your diagnostic tools have failed you, how can you help? In this article, we explore a technique and a tool for Django apps that can help you swoop in and save the day.

  • #Python
  • #Django
  • #applications

Anatomy Of An Application

This article explores applications. Applications are core structural elements of a Django project. We will see the composition of an app and how to use them effectively.

  • #Python
  • #Django
  • #hackathon

From Concept To Live In Two Weeks With Django

How can you build a fully functional web application for a customer in a short period of time? I share my experience building such a web app for a nonprofit organization while participating in a local virtual hackathon in Frederick, MD.

  • #Python
  • #Django
  • #admin

Episode 8 - Administering Your App

On this episode, we will focus on the built-in Django administrator’s site. We’ll see what it is, how you can configure it, and how you can customize it to serve your needs.