Python

A collection of 126 articles

  • #Python
  • #Django
  • #onboarding
  • #forms

Onboarding Forms - Building SaaS #51

In this episode, we added the first form to collect data in the onboarding flow. We used a CreateView and defined all the fields that are needed in the HTML form.

  • #Python
  • #Django
  • #templates

Episode 4 - Building User Interfaces

On this episode, we look at templates, the primary tool that Django provides to build user interfaces in your Django app.

  • #Python
  • #Django
  • #onboarding
  • #CSS

Onboarding Continuity - Building SaaS #50

In this episode, we stepped from the welcome onboarding page to the first interactive page in the flow. I extracted the common banner for each of the templates and customized it for each of the steps in the process.

  • #Python
  • #Django
  • #templates

Templates For User Interfaces

When your Django application sends back a response with your user interface, templates are the tool you’ll use to produce that user interface. This article looks at what templates are and how to use them.

  • #Python
  • #Django
  • #onboarding
  • #CSS

Starting the Onboarding Flow - Building SaaS #49

In this episode, we worked on the progress element that will display in every step of the onboarding flow. I added some labels and styled the banner using Tailwind CSS. At the end of the stream, we boxed in the shape of the welcome page with some placeholder elements.

  • #Python
  • #Django
  • #onboarding

Onboarding - Building SaaS #48

In this episode, we did some design work to plan out the onboarding flow for new users. I spoke through my design process, outlined what a new user will need to do to succeed, wrote down the plan in GitHub issues, then started to implement that flow.

  • #Python
  • #Django
  • #views

Episode 3 - Views On Django

On this episode, we look at views, a major component within Django and a primary place where your code will run.

  • #Python
  • #Django
  • #CSS
  • #template

How To Style Sign Up - Building SaaS #47

In this episode, I added styling to the Sign Up page of the site. We chatted about CSS tools and frameworks, the benefit of feature flags to control what UI is displayed to users, and how to use Tailwind CSS to modify a design quickly.

  • #Python
  • #Django
  • #views

Views On Views

Django URLs expect to send a response back to a user. Where does that response come from? A Django view! This article looks into the fundamentals of views and how to use them in your project.

  • #Python
  • #Django
  • #views

A Week At A Time - Building SaaS #46

In this episode, we worked on a weekly view for the Django app. We made navigation that would let users click from one week to the next, then fixed up the view to pull time from that particular week.

  • #Python
  • #Django
  • #templates

Templates and Logic - Building SaaS #45

In this episode, we added content to a template and talked about the N+1 query bug. I also worked tricky logic involving date handling.

  • #Python
  • #Django
  • #podcast

Django Riffs, a podcast for learning Django

I started a new podcast called Django Riffs. Django Riffs is all about learning how to use the Django web framework. The show will take beginners on a tour of Django to help them gain proficiency.

  • #Python
  • #Django
  • #forms

Fast Forms With UpdateView - Building SaaS #44

In this episode, we worked on an edit view. We used Django’s generic UpdateView to aid the process and test drove the creation of the view to verify things every step of the way.

  • #Python
  • #Django
  • #URLs

Episode 2 - Enter With URLs

On this episode, we discuss Django’s front door, URLs. We talk about what URLs are, how to build them in Django, and the functions Django provides to work with URLs.

  • #Python
  • #Django

Episode 1 - Get To Know Django

Django Riffs is a podcast for learning web application development in Python using the Django web framework. We explore all of Django’s features to equip listeners with the knowledge to build a web app.

  • #Django
  • #Tailwind
  • #templates

Use Tailwind On A Template - Building SaaS #43

In this episode, we worked on the template styles of a tabular view. We also made some context data adjustments to include header rows and column highlighting.

  • #Django
  • #Tailwind
  • #templates

Add Styles To Templates - Building SaaS #42

In this episode, I added a CSS framework, Tailwind CSS. After working through some issues with the log out feature, we started to style the base template of the site.

  • #Python
  • #Django

URLs Lead The Way

How does a Django site know where to send requests? You have to tell it! In this next article in the Understand Django series, we look at URLs and how to let your users get to the right place.