Feed: Django on Matt Layman

Recent content in Django on Matt Layman

Blog Matt Layman
RSS 2.0 Feed Django on Matt Layman
web https://www.mattlayman.com/tags/django/
Last Update03.15.2026
Posts193

School Break Filters - Building SaaS with Python and Django #113

Sept. 2, 2021 » Django on Matt Layman » [Archived Version]

In this episode, we finished up making changes to the app to support filtering school breaks to students.

Read More

Episode 14 - Going Live

July 19, 2021 » Django on Matt Layman » [Archived Version]

On this episode, we will look at what it takes to go live and how to prepare your Django project for the internet. Listen at djangoriffs.com or with the player below. Last Episode On the last episode, we discussed how you can verify that your site works and continues to work. We dug into automated testing and how to write tests for your Django apps. Pick A Python Application Server When you begin to learn Django, the documentation will instruct you to use .

Read More

Making Sense Of Settings

July 15, 2021 » Django on Matt Layman » [Archived Version]

In the last Understand Django article, we looked at a storage concept in Django called sessions. Sessions provide a solution to problems like “How does Django know when a user is logged in?” or “Where can the framework store data for a visitor on your app?” With this article, you’ll learn about Django settings and how to manage the configuration of your application. We’ll also look at tools to help you define your settings effectively.

Read More

Episode 13 - Does My Site Work?

June 1, 2021 » Django on Matt Layman » [Archived Version]

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. Listen at djangoriffs.com or with the player below. Last Episode On the last episode, our focus was on static files. Static files are vital to your application, but they have little to do with Python code. We saw what they are and what they do.

Read More

Per-visitor Data With Sessions

May 21, 2021 » Django on Matt Layman » [Archived Version]

In the last Understand Django article, we saw what it takes to make your Django project live on the internet. Now, we’ll get back to a more narrow topic and focus on a way Django can store data for visitors to your site. This is the kind of data that doesn’t often fit well into your Django models and is called session data. From Browser To DjangoURLs Lead The WayViews On ViewsTemplates For User InterfacesUser Interaction With FormsStore Data With ModelsAdminister All The ThingsAnatomy Of An App…

Read More

Deploy A Site Live

March 23, 2021 » Django on Matt Layman » [Archived Version]

In the previous Understand Django article, we looked at automated testing and how writing tests to check your Django project can be very valuable, saving you time and making sure your site works for your users. Next, we’re going to look into how to share your site on the internet by understanding what it means to deploy a Django project. Deployment is the act of making your application live to your audience, and this article explains the actions you should consider to deploy effectively.

Read More

Test Your Apps

Feb. 22, 2021 » Django on Matt Layman » [Archived Version]

In the previous Understand Django article, we saw how static files like CSS, JavaScript, and images can be incorporated into your site. Now we’re going to focus on how to verify that your website works and continues to work by writing automated tests that check your pages and your code logic. From Browser To DjangoURLs Lead The WayViews On ViewsTemplates For User InterfacesUser Interaction With FormsStore Data With ModelsAdminister All The ThingsAnatomy Of An ApplicationUser AuthenticationMiddl…

Read More

Episode 12 - Success With Static Files

Feb. 15, 2021 » Django on Matt Layman » [Archived Version]

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. Listen at djangoriffs.com or with the player below. Last Episode On the last episode, we looked at Django middleware. We discussed why middleware is useful and how you can work with it. What Are Static Files?

Read More

How To Use Htmx In Django

Feb. 6, 2021 » Django on Matt Layman » [Archived Version]

This article shows you how to use htmx in Django. What is htmx? According to the htmx website: htmx allows you to access AJAX, CSS Transitions, WebSockets and Server Sent Events directly in HTML, using attributes, so you can build modern user interfaces with the simplicity and power of hypertext. The example that we’ll craft is an ability to delete a task from a list of tasks without reloading the whole page.

Read More

Are Django and Flask Similar?

Jan. 30, 2021 » Django on Matt Layman » [Archived Version]

Maybe you’re new to web development in Python, and you’ve encountered the two most popular Python web frameworks, Django and Flask, and have questions about which one you should use. Are Django and Flask similar tools for building web applications? Yes, Django and Flask share many similarities and can both make great websites, but they have some different development philosophies which will attract different types of developers. What do I know about this?

Read More