django-planet

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 Update11.22.2024
Posts336

WhiteNoise For Static Files - Building SaaS

Dec. 9, 2023 » Django on Matt Layman » [Archived Version]

This video is all about adding the popular WhiteNoise package into my Django app to serve static files (e.g., CSS, JavaScript, and images) directly from the app. I walk through the process from start to finish and deploy it live to show how things work.

Read More

Operations, WhiteNoise, and Tailwind - Building SaaS with Python and Django #177

Dec. 7, 2023 » Django on Matt Layman » [Archived Version]

In this episode, I worked through a couple of issues discovered after having the site be operational for real use. From there, we moved onto some fundamental technology and integrated WhiteNoise to handle static files for the application. After adding WhiteNoise, we hooked up Tailwind CSS.

Read More

Operations, WhiteNoise, and Tailwind - Building SaaS #177

Dec. 7, 2023 » Django on Matt Layman » [Archived Version]

In this episode, I worked through a couple of issues discovered after having the site be operational for real use. From there, we moved onto some fundamental technology and integrated WhiteNoise to handle static files for the application. After adding WhiteNoise, we hooked up Tailwind CSS.

Read More

Switch an Existing Python Project To Ruff

Dec. 1, 2023 » Django on Matt Layman » [Archived Version]

On a recent Building SaaS stream, we switched from using flake8, Black, isort, and bandit completely over to a single tool, Ruff. Watch an experienced Pythonista work through many of the options and do a full conversion to this powerful tool

Read More

Switch an Existing Python Project To Ruff

Dec. 1, 2023 » Django on Matt Layman » [Archived Version]

On a recent Building SaaS stream, we switched from using flake8, Black, isort, and bandit completely over to a single tool, Ruff. Watch an experienced Pythonista work through many of the options and do a full conversion to this powerful tool

Read More

Message Parsing and Ruff - Building SaaS with Python and Django #176

Nov. 30, 2023 » Django on Matt Layman » [Archived Version]

In this episode, we finished off the core portion of the application by parsing entries out of the messages sent back by SendGrid. We set up the Heroku Scheduler to start the daily flow of emails to get the system started. After completing that, I set up the project to use Ruff instead of the collection of tools used previously.

Read More

Message Parsing and Ruff - Building SaaS #176

Nov. 30, 2023 » Django on Matt Layman » [Archived Version]

In this episode, we finished off the core portion of the application by parsing entries out of the messages sent back by SendGrid. We set up the Heroku Scheduler to start the daily flow of emails to get the system started. After completing that, I set up the project to use Ruff instead of the collection of tools used previously.

Read More

Parse Inbound Email - Building SaaS with Python and Django #175

Nov. 16, 2023 » Django on Matt Layman » [Archived Version]

In this episode, we switched to the inbound side and parsed an email to transform it into a journal entry. This caused us to look into the dateutil library and look at Python’s standard email module to use EmailMessage.

Read More

Parse Inbound Email - Building SaaS #175

Nov. 16, 2023 » Django on Matt Layman » [Archived Version]

In this episode, we switched to the inbound side and parsed an email to transform it into a journal entry. This caused us to look into the dateutil library and look at Python’s standard email module to use EmailMessage.

Read More

Idempotent Jobs - Building SaaS with Python and Django #174

Nov. 2, 2023 » Django on Matt Layman » [Archived Version]

In this episode, we cleaned up the email sending job. I had to make some changes based on some discoveries that I made while researching how to track responses and associate the journal entries back to the user. While doing this clean up, we added a new Prompt model to make the email sending job idempotent for each day.

Read More