Views

A collection of 13 articles

  • #Python
  • #Django
  • #views

Reordering Models - Building SaaS #80

In this episode, we looked at an UpdateView for the GradeLevel model in the homeschool application. Along the way, I had to display some UI elements on the grade to give users the ability to …

  • #Python
  • #Django
  • #views

Displaying Breaks - Building SaaS #72

In this episode, I worked to add breaks to the display of the week schedule. We had to update context to include the break information into the schedules. I refactored a method out of the …

  • #Python
  • #Django
  • #views

Custom Form Validation - Building SaaS #71

In this episode, I added some custom checking to ensure that students may only be enrolled in a single grade level for a school year. We talked about form cleaning and wrote a for unit test …

  • #Python
  • #Django
  • #views

Predicting The Future - Building SaaS #70

In this episode, we worked on two issues. The first issue was fixing incorrect projected completion dates of tasks. We used test driven development to reveal the bug and work on the fix. The …

  • #Python
  • #Django
  • #views

Polishing and Usability - Building SaaS #69

In this episode, we polished some parts of the application. Now that my first customer is using the app regularly, the feedback is coming in rapidly. We worked to fix some of the issues that …

  • #Python
  • #Django
  • #views

Rendering Calendars - Building SaaS #68

In this episode, I worked on rendering a calendar of important events in a school year. We built out the appropriate data structures, and I wrote some new model methods and added tests.

  • #Python
  • #Django
  • #views

Docs, Bugs, and Reports - Building SaaS #66

In this episode, I created documentation for anyone interested in trying out the application. After documenting the setup, I moved on to fixing a bug with the scheduling display of courses. …

  • #Python
  • #Django
  • #views

A View From Start To Finish - Building SaaS #60

In this episode, I created a view to add students from beginning to the end. I used Error Driven Development to guide what I needed to do next to make the view, then wrote tests, and …

  • #Python
  • #Django
  • #views

Designing A View - Building SaaS #59

In this episode, I focused on a single view for adding a course to a school year. This view is reusing a form class from a different part of the app and sharing a template. We worked through …

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

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

  • #Python
  • #Django
  • #Views

Semi-automated tasks - Building SaaS #11

In this episode, we worked on a tool designed to help with backend manual tasks that would semi-automate the work. By automating some portion of the task, we’re able to make it way …