Django

A collection of 160 articles

  • #twitch
  • #Python
  • #Django
  • #SaaS

PDF Bundle Report - Building SaaS with Python and Django #123

In this episode, we started work on a new feature for the homeschool application. This feature is a report bundle that will add PDFs of all school year activities to a zip archive for a customer’s record keeping purposes.

  • #twitch
  • #Python
  • #Django
  • #SaaS

Customer UX Feature - Building SaaS with Python and Django #122

In this episode, I added some user experience (UX) polish to my Django app to fill in a gap where users couldn’t quickly jump to their proper school year when their homeschool is between school years. We cleaned up the view, modified a template, and wrote the test to prove that the change works.

  • #twitch
  • #Python
  • #Django
  • #SaaS

Customer Requests - Building SaaS with Python and Django #121

In this episode, we started by trying to add django-auto-prefetch. Unfortunately, it didn’t work well for my app. I decided to stop trying to add that package and switched to working on a feature request of one of my customers.

  • #twitch
  • #Python
  • #Django
  • #SaaS

Scheduling Bugs - Building SaaS with Python and Django #120

In this episode, I debugged a deep scheduling bug that was tricky to track down and understand.

  • #Python
  • #Django
  • #commands

Command Your App

With this Understand Django article, you’ll learn about commands. Commands are the way to execute scripts that interact with your Django app. We’ll see built-in commands and how to build your own commands.

  • #twitch
  • #Python
  • #Django
  • #SaaS
  • #htmx
  • #django-htmx

Working With django-htmx - Building SaaS with Python and Django #119

In this episode, I added django-htmx to help finish off a bulk task deletion feature for my homeschool app. We explored the features that are available in django-htmx, and I showed how to add django-htmx to my project and fully integrate the package.

  • #twitch
  • #Python
  • #Django
  • #SaaS

Bulk Delete Template - Building SaaS with Python and Django #118

In this episode, I worked on the bulk delete template that users will see when deleting tasks within the homeschool app.

  • #twitch
  • #Django
  • #SaaS
  • #Python

Bulk Delete Form - Building SaaS with Python and Django #117

In this episode, I worked on the bulk delete form that I need so that my customers can delete many tasks in the system at once.

  • #twitch
  • #Python
  • #Django
  • #SaaS
  • #bulk
  • #delete

Bulk Delete View - Building SaaS with Python and Django #116

In this episode, I started a bulk delete view to make it possible for customers to delete many course tasks at once.

  • #twitch
  • #Python
  • #Django
  • #SaaS

Finish School Break Filtering - Building SaaS with Python and Django #115

In this episode, we finished the UI work and wrote the final tests needed to complete the school break filtering by student feature.

  • #twitch
  • #Python
  • #Django
  • #m2m
  • #SaaS

Student Filtering UI - Building SaaS with Python and Django #114

In this episode, we worked on UI and form changes to enable the extra many to many filtering that enables school breaks to be applied to individual students.

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

  • #twitch
  • #Python
  • #Django
  • #SaaS

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

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

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