django-planet

What's new in Django community blogs?

Rendering Calendars - Building SaaS #68

Aug. 13, 2020 » Django on Matt Layman » [Archived Version]

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. On the last stream, I created a new model to track breaks in the school year. The app now shows the calendar for the school year, and I want to display the breaks on the calendar. Before digging too far into the code, I provided my thoughts about using Docker for development from a question that came from the ch…

Read More

Give Me A Break... Day - Building SaaS #67

Aug. 6, 2020 » Django on Matt Layman » [Archived Version]

In this episode, we did some Django model development. I created a new model to track break days in a school year. This model will be critical to fill in vacations and holidays so that the scheduling functionality works properly. I added the model, the tests, the admin page, and the create view to create break days in the app. We started by picking a model name and discussing naming in programming.

Read More

Understanding Common Table Expressions in SQL

Aug. 4, 2020 » Tinker, Tamper, Alter, Fry » [Archived Version]

One of the lesser known features of modern SQL are so-called “Common Table Expressions” (CTE) or “WITH queries”. I’ll explain the mental model that helped me make sense of them, and how to use them to execute recursive queries. Afterwards I’ll show how to apply these techniques in Django.Syntactically a CTE consists of one or […]

Read More

Python geofencing

Aug. 1, 2020 » Thomas Loiret - Random thoughts » [Archived Version]

How to determine if GPS coordinates are within a specific geographical zone.

Read More

Docs, Bugs, and Reports - Building SaaS #66

July 30, 2020 » Django on Matt Layman » [Archived Version]

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. In the latter half of the stream, we focused on creating a new reports section to show progress reports for students. One of my patrons requested some documentation to explain how to get started with the project. We updated the README.

Read More

Speaking online at EuroPython 2020

July 23, 2020 » Paolo Melchiorre » [Archived Version]

An article about my first participation as a speaker at an online conference: EuroPython 2020.

Read More

Handle Default Values - Building SaaS #65

July 23, 2020 » Django on Matt Layman » [Archived Version]

In this episode, I updated a model to handle the default duration of new tasks. This default needed to come from the Course model instead of the CourseTask model so we had to determine how best to set that data in various forms. I also fixed some drop down selection bugs that populated a form with the wrong data. We made sure that all the code was well tested. I created a new default_task_duration field to the Course model.

Read More

EuroPython 2020

July 22, 2020 » Paolo Melchiorre » [Archived Version]

EuroPython is the official European conference for the Python programming language.

Read More

Episode 7 - Models and Managers and Querysets, Oh My!

July 21, 2020 » Django on Matt Layman » [Archived Version]

On this episode, we will explore more about models and how to interact with data in your database. Listen at djangoriffs.com. Last Episode On the last episode, we discussed the basics of setting up a database and creating a model to store data. Working With Models To create new rows in our new database tables, we can use a model’s save method. When you save a model instance, Django will send a message to the database that effectively says “add this new data to this database table.

Read More

Summer Break

July 15, 2020 » Django Chat » [Archived Version]

We're taking a summer break and will be back in September with new episodes, guests, and topics.

Read More