django-planet

What's new in Django community blogs?

Episode 3 - Views On Django

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

On this episode, we look at views, a major component within Django and a primary place where your code will run. Listen at djangoriffs.com. Last Episode On the previous episode, we talked about URLs and how they describe the main interface that a browser can use to interact with your application. What Is A View? A view is a chunk of code that receives an HTTP request and returns an HTTP response.

Read More

Resources & Mentorship

March 4, 2020 » Django Chat » [Archived Version]

We discuss the best current Django resources and how to find a Django mentor.

Read More

How To Style Sign Up - Building SaaS #47

March 4, 2020 » Django on Matt Layman » [Archived Version]

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. In the first portion of the stream, we focused on CSS frameworks. We compared Bootstrap, Semantic UI, and Tailwind CSS. After that discussion, I talked about feature flags.

Read More

Views On Views

March 3, 2020 » Django on Matt Layman » [Archived Version]

In the previous Understand Django article, I covered URLs and the variety of tools that Django gives us to describe the outside interface to the internet for your project. In this article, we’ll examine the core building block that makes those URLs work: the Django view. From Browser To DjangoURLs Lead The WayViews On ViewsTemplates For User InterfacesUser Interaction With FormsStore Data With ModelsAdminister All The ThingsAnatomy Of An ApplicationUser AuthenticationMiddleware Do You Go?

Read More

Double-checked locking with Django ORM

Feb. 28, 2020 » Luke Plant » [Archived Version]

How to implement the classic double-checked locking pattern with Django ORM/PostgreSQL.

Read More

Django & Healthcare - Jacinda Shelly

Feb. 26, 2020 » Django Chat » [Archived Version]

Jacinda is the co-founder of Apero Health and formerly CTO of DoctorOnDemand. We discuss lessons learned building both platforms from scratch and how to scale code and teams.

Read More

A Week At A Time - Building SaaS #46

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

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. The first thing that I did was focus on the UI required to navigate to a new weekly view in the app. We mocked out the UI and talked briefly about the flexbox layout that is available to modern browsers.

Read More

Templates and Logic - Building SaaS #45

Feb. 20, 2020 » Django on Matt Layman » [Archived Version]

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. The first change was to update a course page to include a new icon for any course task that should be graded. After adding this, we hit an N+1 query bug, which is a performance bug that happens when code queries a database in a loop. We talked about why this happens and how to fix it.

Read More

Django Software Foundation

Feb. 19, 2020 » Django Chat » [Archived Version]

We discuss the role of the Django Software Foundation in the larger community and how/why to become more involved. Editing note: James Bennett is the Secretary of the DSF, not the Treasurer.

Read More

Technical Writing - Mikey Ariel

Feb. 12, 2020 » Django Chat » [Archived Version]

Mikey is a technical writer at Red Hat and gave the keynote at DjangoCon Europe 2019 on documentation. We discuss how to get into technical writing, her work on Write the Docs, and more.

Read More