django-planet

What's new in Django community blogs?

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

An Efficient Multi-Stage Build for Python Django in Docker

June 21, 2020 » Tinker, Tamper, Alter, Fry » [Archived Version]

We’ve recently begun dockerizing our applications in an effort to make development and deployment easier. One of the challenges was establishing a good baseline Dockerfile which can maximize the benefits of Dockers caching mechanism and at the same time provide minimal application images without any superfluous contents.The basic installation flow for any Django project (let’s […]

Read More

Hackathon App - Building SaaS #61

June 18, 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. My team is building a mobile web app for the homeless around Frederick, MD. In this stream, we cranked through some modeling, admin building, a couple of pages, tests, and templates! We got a lot done! The virtual hackathon running in Frederick is split into multiple teams serving three different community groups around Frederick county.

Read More

Modern Django Development - Jeff Triplett

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

Jeff is a partner at REVSYS and a Director of the Python Software Foundation. We discuss modern development tools including Github Actions, Docker, Tailwind, and more.

Read More