django-planet

What's new in Django community blogs?

Django 3.1 Preview - Mariusz Felisiak

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

Django Fellow Mariusz Felisiak joins us to discuss the new features in Django 3.1, including async views/middleware/tests, cross-db JSONFields, improved admin, the addition of pathlib, and more.

Read More

Enrolling Students - Building SaaS #64

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

In this episode, we worked on a view to enroll students into a grade level for the school year. I added all the context data and used Tailwind to design the form layout to pick from a list of available grade levels. We added a variety of unit tests to prove the correctness. The enrollment page needed three pieces of data in the context to complete the form. We added the student, school_year, and grade_levels data to the context and wrote tests to show the data in there.

Read More

Aymeric Augustin

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

Aymeric is a longtime Django contributor and member of the Django Technical Board. We discuss his background with Django, contributions to the codebase and docs, multiple open-source projects, and more.

Read More

Django Testing Toolbox

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

What are the tools that I use to test a Django app? Let’s find out! You might say I’m test obsessed. I like having very high automated test coverage. This is especially true when I’m working on solo applications. I want the best test safety net that I can have to protect me from myself. We’re going to explore the testing packages that I commonly use on Django projects. We’ll also look at a few of the important techniques that I apply to make my testing experience g…

Read More

The Home Stretch - Building SaaS #63

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

In this episode, we return to the homeschool application that I’m building. I’m in the final stretch of changes that need to happen to make the product minimally viable. We worked on a template, wrote some model methods, and did a bunch of automated testing. We started by adding students to the context of the students index page. With the students in the context, we updated the index page to display the list of students.

Read More

Speed Up Your Django Tests - Adam Johnson

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

Adam is a Django Technical Board member, longtime contributor, and author of the new book Speed Up Your Django Tests. We talk all things testing in Django, performance tips, continuous integration, pytest, easy wins, optimal test structure, and more.

Read More

Episode 6 - Where Does the Data Go?

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

On this episode, we will learn about storing data and how Django manages data using models. Listen at djangoriffs.com. Last Episode On the last episode, we saw Django forms and how to interact with users to collect data. Setting Up A relational database is like a collection of spreadsheets. Each spreadsheet is actually called a table. A table has a set of columns to track different pieces of data. Each row in the table would represent a related group.

Read More

Hackathon App Part 2 - Building SaaS #62

June 26, 2020 » Django on Matt Layman » [Archived Version]

In this episode, we took a break from the regular app to work on an app for a local hackathon that I’m participating in. This is the second week for the hackathon and in this stream, I apply the final touches to the application. We work on models, a template, and build an RSS feed using Django syndication contrib app. The final presentation for the app was the next day so it was crunch time to finish everything off.

Read More

Store Data With Models

June 25, 2020 » Django on Matt Layman » [Archived Version]

In the previous Understand Django article, we encountered forms and how forms allow your application to receive data from users who use your site. In this article, you’ll see how to take that data and store it into a database so that your application can use that data or display it later. From Browser To DjangoURLs Lead The WayViews On ViewsTemplates For User InterfacesUser Interaction With FormsStore Data With ModelsAdminister All The ThingsAnatomy Of An ApplicationUser AuthenticationMid…

Read More

Learning Wagtail - Kalob Taulein

June 24, 2020 » Django Chat » [Archived Version]

Kalob is a developer and educator for Wagtail, the popular Django-based CMS.

Read More