July 3, 2023 » Django Beats » [Archived Version]
In this article Mariusz Felisiak introduces concepts of Django’s Managers and QuerySet to organize common database queries. Django on Fly.io is pretty sweet! Check it out: you can be up and running on Fly.io in just minutes. I’m always focusing on writing readable and maintainable code. When our project becomes bigger and more complex, the number of models and complexity of data access control can increase significantly. We’re starting to ask ourselves questions: How to organize d…
Read MoreJuly 1, 2023 » Adam Johnson » [Archived Version]
Django’s json_script template filter is a convenient and safe way to pass a larger amount of data to JavaScript. I covered it in my post last year How to Safely Pass Data to JavaScript in a Django Template. I found an interesting use case for json_script in my client …
Read MoreJuly 1, 2023 » Anže’s Blog » [Archived Version]
Upgrading your database with Blue/Green deployments
Read MoreJune 30, 2023 » Django News » [Archived Version]
News Introducing the Wagtail Roadmap Curious what's next for Wagtail? There's a roadmap for that. wagtail.org Deprecation of bdist_egg uploads to PyPI PyPI will stop accepting .egg uploads starting August 1, 2023. If you maintain and packages on PyPI, you'll want to know this. pypi.org Updates to Django Updates to Django From Django Review and Triage Team Member Sarah Boyce... Last week we had 10 pul…
Read MoreJune 29, 2023 » Django on Matt Layman » [Archived Version]
In this episode, I planned to do the work of sending email prompts for the journal to users. Along the path, we realized that the Account model was missing, so I stopped to build that out before we could proceed. By the end of the stream, we had a working background job that would send email and was 100% unit tested.
Read MoreJune 29, 2023 » Django on Matt Layman » [Archived Version]
In this episode, I planned to do the work of sending email prompts for the journal to users. Along the path, we realized that the Account model was missing, so I stopped to build that out before we could proceed. By the end of the stream, we had a working background job that would send email and was 100% unit tested.
Read MoreJune 28, 2023 » Django Beats » [Archived Version]
In this article we explore the lazy QuerySets in Django. Django on Fly.io is pretty sweet! Check it out: you can be up and running on Fly.io in just minutes. Did you know that QuerySets are lazy? QuerySets have a hidden gem 💎 called lazy evaluation. It is a powerful feature that allows you to postpone the execution of a database’s query until it’s absolutely necessary. Let’s dive right in. What are Lazy QuerySets? 💭 When you perform operations on a QuerySet, such as applyin…
Read MoreJune 25, 2023 » Better Simple » [Archived Version]
I've added a new section to my site called Unsung Developer Thoughts. Check it out!
Read MoreJune 23, 2023 » Django News » [Archived Version]
News The 2023 PSF Board Election is Open! In order to vote in this election, individuals must be a Contributing, Managing, Supporting, or Fellow member as of June 15, 2023, and have confirmed their intention to vote by June 19, 2023. blogspot.com Wagtail 5.0.2 release notes New features and bug fixes in the latest Wagtail version. wagtail.org Announcing Our New Security Developer in Residence! The Python So…
Read MoreJune 23, 2023 » REVSYS Blog » [Archived Version]
pytest fixtures are magic!
Read More