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 Update05.17.2024
Posts223

Design and Stripe - Building SaaS with Python and Django #180

Jan. 18, 2024 » Django on Matt Layman » [Archived Version]

In this episode, I started with a plan to work on Stripe checkout, but realized that I needed to come up with a better plan and also improve the base template of the app. We ended up doing more design work than working with Stripe, but we ended the stream with a solid plan of what to do next.

Read More

Legal and Stripe - Building SaaS with Python and Django #179

Jan. 4, 2024 » Django on Matt Layman » [Archived Version]

In this episode, we took care of the legal obligations of the site by setting up Terms of Service and a Privacy Policy page. Then we moved on to the next portion of signup, which is to configure Stripe to create customers and prepare, ultimately, to accept subscription payments.

Read More

Sign Up - Building SaaS with Python and Django #178

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

In this episode, we did some work on the sign up template. In the process, we added some base template styling, talked about branding, and considered the other elements that are required before we can turn on sign up for others. I also cover waffle as a feature flag tool.

Read More

Tailwind CSS on Python and Heroku - Building SaaS

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

Tailwind CSS is a fantastic tool for making CSS easy to use on your webapps. On the video, I added Tailwind CSS to my Django app and showed how to use it and deploy it to Heroku (which required some extra configuration for JavaScript support).

Read More

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

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

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

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