Nov. 20, 2019 » Django Chat » [Archived Version]
We discuss how caching dramatically improves website performance, Django’s 4 built-in options, and Redis vs Memcached.
Read MoreNov. 20, 2019 » Tinker, Tamper, Alter, Fry » [Archived Version]
I have a Django based project, and am doing unit tests with py.test. To debug a test failure it’s sometimes useful to see the actual SQL queries that Django emitted, which is surprisingly hard. I assumed that that would be such an obvious and common need, that a simple switch (for pytest-django) or easy plugin […]
Read MoreNov. 13, 2019 » Django Chat » [Archived Version]
Kenneth Love is a longtime Django developer, teacher (at Treehouse), and dev lead at O’Reilly. We discuss how to onboard new team members, burnout, remote work, and his advice for Django newcomers.
Read MoreNov. 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 MoreNov. 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 MoreOct. 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 MoreOct. 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 MoreOct. 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 MoreOct. 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 MoreOct. 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