Django

A collection of 160 articles

  • #Django
  • #SaaS
  • #Python

Refactoring and New Features - Building SaaS with Python and Django #137

In this episode, I continued on the teacher checklist for the homeschooling app. We added data to the context and this required some refactoring to be able to reuse data from other parts of the app.

  • #Django
  • #SaaS
  • #Python

New App In Project - Building SaaS with Python and Django #136

In this episode, I broke ground on a brand new feature. The feature will be a task checklist for teachers. Since the checklist is directly for teachers, I created a new Django app named teachers and showed how to hook that into the rest of my Django project.

  • #Python
  • #htmx
  • #Ruby
  • #PHP
  • #JavaScript
  • #Django
  • #Flask
  • #RubyOnRails
  • #Laravel
  • #AJAX

You Don't Need JavaScript

What If I Told You… You Don’t Need JavaScript. This talk explores why #JavaScript is not good fit for most web apps. I then show how most web apps can do dynamic things using htmx. I provide examples using #Django, #Flask, #RubyOnRails, and #Laravel.

  • #Python
  • #Django
  • #debugging

Debugging Tips And Techniques

Your Django app is up. You’ve got users. Your users are hitting bugs. How do you debug to fix the problems? That’s the focus of this Understand Django article.

  • #Django
  • #SaaS
  • #Python

Brew Install The World - Building SaaS with Python and Django #135

In this episode, I tried to get started after a long break, but my virtual environment was broken. This entire episode is a journey deep into Python installing world. Did I come out on the other side? Yes, we figured it out. You’ll have to watch (or skip to the end) to figure out what happened. :)

  • #Django
  • #SaaS
  • #Python

User Requests - Building SaaS with Python and Django #134

In this episode, we took a break between big projects and worked on some smaller usability features requested by users of the app.

  • #Django
  • #SaaS
  • #Python

S3 FileField - Building SaaS with Python and Django #133

In this episode, we built the UI to allow users to request an end-of-year PDF bundle. Then we hooked the model up to S3 via django-storages and tested everything out.

  • #Python
  • #Django
  • #SaaS

PDF Courses Report - Building SaaS with Python and Django #132

In this episode, we added a final PDF report to the PDF bundle. This report was different than the other because there wasn’t a pre-existing HTML report to mimic. I built a report that shows all the completed course tasks for each student.

  • #SaaS
  • #Python
  • #Django

PDF Attendance Report - Building SaaS with Python and Django #131

In this episode, we added a third PDF report to the PDF bundle. The patterns from previous reports made this one go faster, but I hit some small snags with the output of the PDF being crushed together.

  • #Python
  • #Django
  • #security

Security And Django

You want to protect your users' privacy, right? The goal is noble and users demand it, but how do you do it? In this Understand Django article, we’ll look at some areas that improve the security of your application.

  • #Django
  • #SaaS
  • #Python

PDF Debugging - Building SaaS with Python and Django #129

In this episode, I debugged the static file handling that my homeschool application is using when it generates PDF reports.

  • #Python
  • #Django
  • #SaaS

Form Features and CSS - Building SaaS with Python and Django #128

In this episode, we worked on a user requested feature that improves a workflow for task management in the homeschool app. After completing the feature, I returned to the PDF bundle project to add CSS styling to the PDF report.

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

Upgrade to Tailwind CSS v3 - Building SaaS with Python and Django #127

In this episode, I upgraded my app to switch from Tailwind CSS v2 to v3. We worked through the migration guide to make all the needed changes to work with v3. Then I upgraded my development tools to make Tailwind updates as I develop my templates.

  • #Python
  • #Django
  • #settings

Episode 16 - Setting Your Sites

On this episode, we look at how to manage settings on your Django site. What are the common techniques to make this easier to handle? Let’s find out!

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

Admin Interface For PDFs - Building SaaS with Python and Django #126

In this episode, I need tools to inspect some PDF reports that I’m building that customers of my homeschool app will use at the end of the school year. I build the admin tools that allow me to see these PDFs quickly.

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

Ordering Existing Models - Building SaaS with Python and Django #125

In this episode, we built out a customer requested feature of adding order of grade levels within the school year of my homeschool app. This will allow users to change the display of crucial pages within the app.

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

Zip Archive HTTP Response - Building SaaS with Python and Django #124

In this episode, we continued to build the PDF reporting feature. The focus on the stream was on building the zip archive file as the HTTP response. This will be the container for future PDF reports. I also started the setup for the weasyprint PDF package.

  • #Python
  • #Django
  • #performance
  • #caching

Go Fast With Django

How do you make your Django app fast? You measure what is slow, scale your system when necessary, and use a combination of fast database queries and strategic caching. In this Understand Django article, we’ll explore those topics and more to help you get a performant Django app.