June 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 applying a filter, orderi…
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 MoreJune 22, 2023 » Django on Matt Layman » [Archived Version]
In this episode, we got to work on the core modeling for the application. I started by adding some visualization tooling to see the models in the system, then got to modeling of the primary Entry model that will be used throughout the app. Along the way, we set up the Django admin and did some automated testing.
Read MoreJune 22, 2023 » django on Jacob Kaplan-Moss » [Archived Version]
I wanted to make a model field where the underlying data is a string, but the field on model instances exposes more attributes. Specifically, a MarkdownField: class Document(models.Model): text = MarkdownField() that exposes a way to get at its content as both HTML and source Markdown: >>> doc = Document(text="hello, *world*") >>> doc.text "hello, *world*" >>> doc.text.html "hello, <strong>world</strong>" This is not too uncommon in Django-land – for example, Django’s built-in FileFields work t…
Read MoreJune 22, 2023 » Django on Matt Layman » [Archived Version]
In this episode, we got to work on the core modeling for the application. I started by adding some visualization tooling to see the models in the system, then got to modeling of the primary Entry model that will be used throughout the app. Along the way, we set up the Django admin and did some automated testing.
Read More