Django News - Python 3.7 to 3.12 updates
Tags: python, django, djangocon
Published: 2023-06-16 12:46:10

---
title: Django News - Python 3.7 to 3.12 updates
published: true
date: 2023-06-16 10:00:00 UTC
tags: python, django, djangocon 
canonical_url: https://django-news.com/issues/184
---

### News

#### [New Python 3.7 to 3.11 releases and 3.12.0 beta 2 are now available](https://cur.at/TrzcfM6?m=rss)

Another combined release of six separate versions of Python including 3.12.0 beta 2!

[blogspot.com](https://cur.at/TrzcfM6?m=rss)

#### [PEP 703: Making the Global Interpreter Lock Optional (3.12 updates)](https://cur.at/UglLjqz?m=rss)

A very informed discussion on PEP 703 to make the Python GIL optional.

[python.org](https://cur.at/UglLjqz?m=rss)

#### [Migrate your project to .readthedocs.yaml configuration file v2](https://cur.at/QMAr0fU?m=rss)

An important deprecation announcement from ReadTheDocs: a `.readthedocs.yml` file will soon be required configuration on all projects.

[readthedocs.com](https://cur.at/QMAr0fU?m=rss)

### Django Software Foundation

#### [Django Software Foundation June meeting minutes](https://cur.at/le8gpRo?m=rss)

Meeting minutes for DSF Board monthly meeting, June 8, 2023.

[djangoproject.com](https://cur.at/le8gpRo?m=rss)

### Updates to Django

#### [Updates to Django](https://cur.at/9CaeKlO?m=rss)

Courtesy of Django Review and Triage Team Member [Sarah Boyce](https://cur.at/dphrQLD?m=rss)...

Last week we had [16 pull requests](https://cur.at/lbDcOql?m=rss) merged into Django by 11 different contributors - including 3 first time contributors! Congratulations to [XDEv11](https://cur.at/Wl4CVcH?m=rss), [EBIBO](https://cur.at/ewAlImd?m=rss), and [Howard Cox](https://cur.at/ZNo5HWU?m=rss) for having their first commits merged into Django - welcome on board!

This time there were even more accessibility improvements to the Django admin! For example, active row highlighting was added when in [forced color mode](https://cur.at/3sj6409?m=rss). Did you know about forced color mode? I didn't! Love learning about how to make the web more accessible.

[github.com](https://cur.at/9CaeKlO?m=rss)

### Sponsored Link
[![](https://dxj7eshgz03ln.cloudfront.net/production/link/image/866965/original_ratio_medium_1b79d0e0-a084-468a-a17d-f854d57d8783.png "Ready to get your Django project to the next level?")](https://cur.at/S2vahYX?m=rss)
#### [Ready to get your Django project to the next level?](https://cur.at/S2vahYX?m=rss)

At HackSoft, we offer expert Django software development, consultancy and support, to help you build robust and scalable software.

[hacksoft.io](https://cur.at/S2vahYX?m=rss)

### Articles

#### [Writing a chat application in Django 4.2 using async StreamingHttpResponse, Server-Sent Events and PostgreSQL LISTEN/NOTIFY](https://cur.at/79e1RwY?m=rss)

A very, very interesting example of writing a chat application with new Django features. We highly recommend you check this one out!

[valberg.dk](https://cur.at/79e1RwY?m=rss)

#### [Pro-Tip – pytest fixtures are magic!](https://cur.at/HOMZDvB?m=rss)

Pro tips from RevSys CEO Frank Wiles on using `pytest` fixtures to speed up your Django tests.

[revsys.com](https://cur.at/HOMZDvB?m=rss)

#### [Django: A security improvement coming to format\_html()](https://cur.at/vvbHRCp?m=rss)

Adam Johnson walks us through how to use `format_html` and avoid a common XSS (cross-site-scripting) vulnerability.

[adamj.eu](https://cur.at/vvbHRCp?m=rss)

#### [Python Software Foundation: Working Groups](https://cur.at/MfXcHip?m=rss)

Dawn Wages explains how the PSF relies heavily on Working Groups, something the Django Software Foundation is starting to do more with, too.

[dawnwages.info](https://cur.at/MfXcHip?m=rss)

### Forum

#### [Adding template fragments or partials for the DTL - Django Internals](https://cur.at/FhXs8O8?m=rss)

A lengthy Django forum discussion on possibly adding inline partials or template fragment features to the Django Templating Language

[djangoproject.com](https://cur.at/FhXs8O8?m=rss)

#### [Rejuvenating vs deprecating Form.Media - Django Internals](https://cur.at/PEqb6OB?m=rss)

Another good and deep discussion about `Form.Media` in Django and the larger question of managing assets in Django.

[djangoproject.com](https://cur.at/PEqb6OB?m=rss)

### Tutorials

#### [Django ORM and QuerySets Tutorial](https://cur.at/PnlZLOw?m=rss)

Build a `recipes` app while learning how the Django ORM and QuerySets work. This is a hands-on tutorial that introduces concepts such as chaining, filters, model managers, the Python shell, and more.

[learndjango.com](https://cur.at/PnlZLOw?m=rss)

### Sponsored Ad
[![](https://dxj7eshgz03ln.cloudfront.net/production/link/image/869345/original_ratio_medium_43eed58c-c0af-46e8-8d95-9d8e9c972ef7.png "Blaze.horse — Django Starter Kit")](https://cur.at/7oIV3TX?m=rss)
#### [Blaze.horse — Django Starter Kit](https://cur.at/7oIV3TX?m=rss)

Big tech thinks everyone needs to build aircraft carriers, but all you need is a horse. We’ve distilled what we’ve learned, making all the little picky decisions so you don’t have to: just get to work on your project!

[blaze.horse](https://cur.at/7oIV3TX?m=rss)

### Videos

#### [DjangoCon Europe 2023: Yak-shaving to Where the Puck is Going to Be](https://cur.at/e8U6LqN?m=rss)

Recently retired Django Fellow Carlton Gibson shares his thoughts on the future of Django and the concept of "locality of behavior." He starts by discussing Class-Based Views and introduces a new project, [Neapolitan](https://cur.at/B8OS9Xy?m=rss), an opinionated take on quick CRUD views.

Then he turns to HTMX and another new projects, [django-template-partials](https://cur.at/CRDnUH0?m=rss), which are reusable named inline partials for the Django Template Language.

[youtube.com](https://cur.at/e8U6LqN?m=rss)

#### [DjangoCon Europe 2023: Good form: How Django’s form rendering improved during the 4.x series](https://cur.at/4OEFIM5?m=rss)

Under the hood, Django has made several major changes to forms in the 4.x series, including a new default style to replace `as_table` in Django 5.0. David Smith walks us through how forms work, why the changes were made, and what to expect in 5.0+.

[youtube.com](https://cur.at/4OEFIM5?m=rss)

### Projects

#### [carltongibson/django-template-partials](https://cur.at/R9uzia3?m=rss)

Reusable named inline partials for the Django Template Language.

[github.com](https://cur.at/R9uzia3?m=rss)

#### [mkalioby/django-passkeys](https://cur.at/nY2qfuS?m=rss)

Django Authentication Backend Using Passkeys

[github.com](https://cur.at/nY2qfuS?m=rss)

* * *

This RSS feed is published on [https://django-news.com/](https://django-news.com/). You can also subscribe [via email](https://django-news.com/#cta-newsletter).