Django News Newsletter

Archives
Jobs
Podcast
Videos
June 28, 2024

Django 5.1 beta 1 and Python 3.13.0 beta 3 released

13 new PRs to Django core, service layers, nested subquerys, and React + django-ninja video tutorial.

News

Django 5.1 beta 1 released

Django 5.1 beta 1 is the second stage in the 5.1 release cycle and is an opportunity for you to try out the changes coming in Django 5.1.

Python 3.13.0 beta 3 released

Python 3.13.0b3 is the third of four beta release previews of 3.13. Beta release previews are intended to allow the wider community to test new features and bug fixes and prepare their projects to support the latest feature release.

PSF News: Announcing the PSF Board Candidates for 2024!

Voting for the PSF board starts on Tuesday, July 2nd.

PSF News: The Python Language Summit 2024: Python's security model after the xz-utils backdoor

Current discussions around the xz-utils backdoor and ways to avoid future situations in the Python space.

Updates to Django

Today 'Updates to Django' is presented by Farhan Ali Raza from Djangonaut Space!

Last week we had 13 pull requests merged into Django by 11 different contributors - including 5 first-time contributors! Congratulations to John Higgins, Ronny V., Stefan Ivic, Rosana Rufer from Djangonaut Space 🎉, and lotvall for having their first commits merged into Django - welcome on board!

Django forum discussions to check out:

  • Adding CSP support to Django: This discussion is about adding built-in support for Content Security Policy(CSP), a crucial security feature that helps mitigate a range of attacks such as Cross-Site Scripting (XSS) and data injection attacks.
  • Using Google re2 instead of re in Django: In re regexes are prone to REDoS attack that is solved by google-re2.
  • Ticket #13376 - Messages should have an expire flag
  • Adding a template tag to generate query strings

New Features in Django 5.2:

  • Added helper method EmailMultiAlternatives.body_contains()
  • Use a named tuple for email attachments and alternatives
  • Added support for RSS feed stylesheets.

Sponsored Link 1

A step-by-step course to help you deploy your Django app to a DigitalOcean droplet, set up a Postgres database and a CI/CD pipeline for a safe production environment.

Articles

Django Service Layers: Beyond Fat Models vs. Enterprise Patterns

A detailed argument on the benefits of a service layer instead of placing most logic in fat models.

Djangonaut Selection Process

How Djangonaut Space selects applications for their program.

Nested Subquerys in Django

Refactoring an initial loop that triggered one set of N+1 queries and, for each of those, another query that probably gets to NM+1 queries!

KISS Beats Accidental Complexity

Keeping things simple in an enterprise app using Django (mainly Model and Admin) and DRF.

Pivoting From React to Native DOM APIs: A Real World Example

How shifting from React to modern DOM APIs led to immediate speed and interaction improvements.

Events

Django Boston Meetup: How to build one-person businesses with Django

Cory Zue will be giving a talk on running multiple online businesses, most notably SaaS Pegasus, the SaaS Boilerplate for Django developers.

Design Articles

Web Components Can Be Simple (Part 1)

An example of replacing BEM-based CSS with custom-element-based modular CSS.

Videos

Wagtail Space NL 2024 videos are live!

Wagtail Space NL 2024 conference videos are live!

React + Django + Ninja Video Tutorial

Quickly build a Django app with django-ninja and React in under 15 minutes.

Semantic search with Django, PostgreSQL, & pgvector

Paolo Melchiorre gave a conference talk about semantic search with Django, PostgreSQL, and pgvector at POSETTE: An Event for Postgres 2024.

FAQs About the PSF Board

Sit down with current and former PSF Board members (including Jeff) as they discuss their experiences and insights while covering multiple FAQs about the PSF Board and the upcoming election.

Sponsored Link 2

Free Trial of Scout APM Today!

Need answers to your Django app questions fast? Avoid the hassle of talking with a sales rep and the long wait times of large support teams, and choose Scout APM. Get Django insights in less than 4 minutes with Scout APM.

Django Job Board

Principal Software Engineer (Remote - USA Only) at U.S. Senate Sergeant at Arms 🆕

Senior Back-End Engineer at Cube Software

Senior Python/Django Developer at Evaboot

Fractional CTO (Part-time and Remote in India) at Ecowiser

Full Stack Developer - Django & Vue.js at Strix Technologies

Projects

baseplate-admin/django-ltree-2

Postgres LTree support for Django.

paperless-ngx/paperless-ngx

A community-supported supercharged version of paperless: scan, index and archive all your physical documents.

adamghill/refreshcss

Make your CSS so fresh, so clean.


Django News is not associated with the Django Software Foundation.

Django is a registered trademark of the Django Software Foundation.

Don't miss what's next. Subscribe to Django News Newsletter:
link
jefftriplett.com
Powered by Buttondown, the easiest way to start and grow your newsletter.