Python

A collection of 208 articles

  • #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
  • #Data
  • #Great Expectations
  • #Quality

Great Expectations Data Quality Testing

Great Expectations is a shared, open standard for data quality. It helps data teams eliminate pipeline debt, through data testing, documentation, and profiling

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

  • #SaaS
  • #Python

PDF Progress Report - Building SaaS with Python and Django #130

In this episode, we added the next report to the PDF bundle. In the process of adding this report, I cleaned up some of the PDF generation code and refactored to some common patterns.

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

  • #Opinion
  • #Programming

Most Abstract Function First Is Better

How should you order your functions in a file? Should helper functions go first or should you put them after a public interface? In this article, I’ll explain why I think putting the most abstract function first is better.

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