django-planet

What's new in Django community blogs?

Channels

Nov. 6, 2019 » Django Chat » [Archived Version]

Channels are the current way to add async support and websockets to Django. We discuss the history of the project, its current status, and how it relates to Django 3+.

Read More

GDG DevFest 2019

Nov. 1, 2019 » Paolo Melchiorre » [Archived Version]

GDG DevFest Pescara brings together the world class experts in Android, Web, Cloud, Machine Learning technologies to Pescara for 2 days of sessions, workshops and showcases.

Read More

How Django Experts Think

Oct. 30, 2019 » Django Chat » [Archived Version]

What does mastery in Django really feel like? We discuss our learning journeys, what’s different after years of experience, how to ask for help, and why coding is a zen experience.

Read More

Configurama - Building SaaS #36

Oct. 30, 2019 » Django on Matt Layman » [Archived Version]

In this episode, we turned our attention to handling settings and configuration. We discussed different techniques for handling settings, looked at available tools, and started integrating one of the tools into the project. The initial discussion in the stream focused on different ways of doing settings. I talked about what I view as a difference between configuration (mostly static stuff) and settings (dynamic parts of the app). I also discussed where to get settings from.

Read More

Middleware

Oct. 23, 2019 » Django Chat » [Archived Version]

Middleware makes Django, well, Django, but is poorly understood. In this episode we discuss how middleware works and why it's so important.

Read More

Deploying WhiteNoise - Building SaaS #35

Oct. 23, 2019 » Django on Matt Layman » [Archived Version]

In this episode, we updated Continuous Integration, Nginx, and the Ansible deployment tasks to use WhiteNoise. With all the changes in place, we tested things out to verify that WhiteNoise served up the CSS, JS, and image files. We started with Circle CI. First, I fixed the JS assets cache because the cache key never changed and Circle did not save fresh assets each build. After completing the assets cache, I created a new cache that stored all the static files after running collectstatic.

Read More

Signals

Oct. 16, 2019 » Django Chat » [Archived Version]

Signals are a powerful but poorly understood and widely abused feature in Django. We explain how they work and introduce Carlton's "Am I allowed to use signals" test.

Read More

Migrating from Python 2 to 3 at EdX - David Ormsbee & Nimisha Asthagiri

Oct. 9, 2019 » Django Chat » [Archived Version]

EdX is an online education platform used by more than 20 million learners and institutions including MIT and Harvard. We discuss migration from Python 2 to 3, where to put business logic, and the limits of Django defaults on a website at massive scale.

Read More

Real-time Web Apps with Zero Lines of JS

Oct. 7, 2019 » Instawork Engineering » [Archived Version]

Using Django, Intercooler, and MercurePhoto by Marc-Olivier Jodoin on UnsplashIn a previous post, I described how Instawork doubled our web development productivity by abandoning React and embracing server-rendered pages enhanced with Intercooler.js. A standard React/Redux setup requires a lot of duplicated work; logic has to be written once on the server (as the source of truth), and a second time on the client (for local state management). By doing all UI rendering in our Django codebase, we …

Read More

Search

Oct. 2, 2019 » Django Chat » [Archived Version]

Despite being a "batteries included" framework, Django provides no built-in support for search. And yet almost every website needs it! We discuss how to add search to any Django site via filters and Q objects. Then move on to more advanced options including full text search with PostgreSQL, Elastic, and more.

Read More