Django News Newsletter

Archives
Jobs
Podcast
Videos
May 31, 2024

DEP 14 (Background Workers) Approved!

DjangoCon news, podcast on a Django-powered newsletter, adding CSP support to Django, and more.

News

Django Enhancement Proposal 14: Background Workers

DEP-14 has been approved that focuses on background workers.

PSF News: Thinking about running for the Python Software Foundation Board of Directors? Let’s talk!

PSF Board elections are a chance for the community to choose representatives to help the PSF create a vision for and build the future of the Python community. This year, there are three seats open on the PSF board.

Updates to Django

Last week we had 19 pull requests merged into Django by 14 different contributors - including 3 first-time contributors! Congratulations to い。, Peter Bittner and Ryan Hiebert for having their first commits merged into Django - welcome on board!

Here are some of the final changes merged into Django 5.1 before the feature freeze:

  • The new django.core.validators.DomainNameValidator validates domain names, including internationalized domain names.
  • The new django.contrib.auth.middleware.LoginRequiredMiddleware redirects all unauthenticated requests to a login page.
  • Collapsible fieldsets are now accessible for screen readers.

Please read the release notes for 5.1 and test the new features - this really helps Django 5.1 to be a success!

Sponsored Link 1

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.

Articles

This month I've been reading: Software Design by Example

Former Django Fellow Carlton Gibson with a rave review of a new software design book and its applications to the Django codebase.

One way to fix Python circular imports

Python circular imports can be confusing. Simply using a different form of import can sometimes fix the problem.

Rapidly creating smoke tests for Django views

A management command for quickly generating tests based off Django's URL routing mechanism.

Django Async Task Queue with Postgres (no Kafka, Rabbit MQ, Celery, or Redis)

Quickly develop async task queues with only Django commands and PostgreSQL. You probably don't need the complexity of Kafka, RabbitMQ, or Celery.

pyastgrep and custom linting

Methodology and sample code for using pyastgrep to do custom linting tasks on Python source code.

Events

DjangoCon Europe Next Week!

The full schedule and tickets are still available for the conference in Vigo, Spain June 5th-9th.

DjangoCon US - Early Bird Tickets end May 31st

DjangoCon US is in Durham, NC again this fall. Early bird tickets are on sale until today, May 31st!

Django Day Copenhagen 2024 - Call for Proposals

Djangonauts from in and around Denmark are meeting up for the third edition of Django Day, to be held on Friday October 4th 2024. It will be a full day of talks, followed by an evening of social events.

Sponsored Link 2

Digital Ocean - $200 credit

DigitalOcean is a cloud computing platform that makes it easy to build, deploy, and scale applications of all shapes and sizes. Try DigitalOcean for free with a $200 credit!

Podcasts

Django Chat #164: Buttondown with Justin Duke

Justin is the founder of Buttondown, a newsletter service built with Django. We discuss scaling the code and the team behind the project, the email space in general, new developments in web development, and Django features he’d like to see.

Django Job Board

Mid-Level Python Engineer (Django Specialist) at Klarian 🆕

Full Stack Developer – Python at Krotos. Ltd 🆕

Senior Software Engineer at HarperRand / CALRegional

Principal Backend Software Engineer at Monitaur

Senior Full Stack Software Engineer at Monitaur

Engineering Manager (Python) at Multi Media LLC

Django Forum

Adding CSP support to Django - Django Internals - Django Forum

A forum discussion on 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.

Projects

RealOrangeOne/django-tasks

A reference implementation and backport of background workers and tasks in Django.

jazzband/django-axes

Keep track of failed login attempts in Django-powered sites.

jazzband/django-eav2

EAV storage for modern Django.

Sponsorship

🌟 Support Django News

Interested in reaching over 3,800 active Django developers? Find out more on our sponsorship page.

Thank you for being a part of our community and supporting Django News!


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.