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.02.2024
Posts223

Importing Content - Building SaaS with Python and Django #189

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

In this episode, I built the import view that is needed to allow users to add their own journal entries to JourneyInbox. After completing that, I handled the pull requests from dependabot, then I worked on some quality of life to do better handling with beta user trials.

Read More

Why Django and why not Flask?

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

Why would someone pick Django over Flask? That’s the question that I got on stream and here is my answer.

Read More

Flash messages and content encodings - Building SaaS with Python and Django #188

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

In this episode, we added flash messages (after a rough start with some networking issues). Then I tracked down a thorny issue. We found that there is a non-breaking space with ’timesince’ that affects the encoding and what links Gmail adds to emails.

Read More

Start Polishing - Building SaaS with Python and Django #187

March 28, 2024 » Django on Matt Layman » [Archived Version]

In this episode, we attacked the issue list. JourneyInbox is live and serving user and now it’s time to start polishing and building the full set of features. There are so many easy targets to fix that we focused on a few clear improvements to user experience and the user interface.

Read More

Post-launch Punchlist - Building SaaS with Python and Django #186

March 21, 2024 » Django on Matt Layman » [Archived Version]

In this episode, we had a bunch of issues to resolve post-launch. I set the code that causes trials to expire, made updates to who receives prompt emails, and added some polish to the sign up process and interface to make it clear what will happen in the flow. After those modifications, we worked through a set of smaller changes like setting up Dependabot and adding a missing database index.

Read More

Do It Live - Building SaaS with Python and Django #185

March 8, 2024 » Django on Matt Layman » [Archived Version]

In this episode, we deployed all our user setup and Stripe configuration change to the live site and tested the new flows end to end. Along the way, we found a bug in djstripe as well as some final bugs in the JourneyInbox configuration that prevented things from working. This is why you test!

Read More

Final Pre-live Features - Building SaaS with Python and Django #184

March 7, 2024 » Django on Matt Layman » [Archived Version]

In this episode, we completed the final features needed to get the site open for others to sign up. This included some dynamic limiting of the number of people allowed to sign up. We also had to add the template styling for the login page.

Read More

Finish Stripe Integration - Building SaaS with Python and Django #183

Feb. 22, 2024 » Django on Matt Layman » [Archived Version]

In this episode, we completed the Stripe integration. I added all the necessary test code, incorporated the webhook for handling account activation, and wrote the view that Stripe needed to redirect to on successful signup.

Read More

Stripe Checkout - Building SaaS with Python and Django #182

Feb. 8, 2024 » Django on Matt Layman » [Archived Version]

In this episode, we did work to get the Stripe checkout session going. We set up Stripe Product and Price objects to get the subscription plan ready and got the Stripe checkout session working mostly end-to-end

Read More

Payments Gateway - Building SaaS with Python and Django#181

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

In this episode, we continued on the Stripe integration. I worked on a new payments gateway interface to access the Stripe APIs needed for creating a check out session. We hit some bumps along the way because of djstripe’s new preference for putting the Stripe keys into the database exclusively.

Read More