What's new in Django community blogs?

Django News - Wagtail Roadmap - Jun 30th 2023

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 More

Accounts and Email - Building SaaS with Python and Django #164

June 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 More

Accounts and Email - Building SaaS #164

June 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 More

QuerySets are Lazy

June 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 More

Unsung Development Thoughts

June 25, 2023 » Better Simple » [Archived Version]

I've added a new section to my site called Unsung Developer Thoughts. Check it out!

Read More

Django News - Bringing Locality of Behavior to Django - Jun 23rd 2023

June 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 More

pytest fixtures are magic!

June 23, 2023 » REVSYS Blog » [Archived Version]

pytest fixtures are magic!

Read More

First Major Model - Building SaaS with Python and Django #163

June 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

Django Model Fields With Attributes

June 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 More

First Major Model - Building SaaS #163

June 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