Django News - Real-time chat application in Django 4.2 with Server-Sent Events
Published: 2023-05-19 18:11:52

---
title: Django News - Real-time chat application in Django 4.2 with Server-Sent Events
published: true
date: 2023-05-19 10:00:00 UTC
tags: 
canonical_url: https://django-news.com/issues/180
---

### News

#### [Django database defaults coming to 5.0](https://cur.at/M5Pfpke?m=rss)

Lily Foote just added support for database defaults on fields. Coming to Django 5.0 in December. This is a massive effort--18 years after the ticket was created.

Thanks also to Simon Charette, Adam Johnson, and Mariusz Felisiak for reviews.

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

### Django Software Foundation

#### [Django 5.x Steering Council Election Results](https://cur.at/yQFuvnz?m=rss)

The Steering Council for the Django 5.x release cycle with 74 votes received out of 268 eligible voters:

- Simon Charette
- Andrew Godwin
- Adam Johnson
- James Bennett

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

#### [Django Software Foundation May 2023 Grants](https://cur.at/ALvMpqV?m=rss)

A list of grants made by the DSF in support of the community for May 2023.

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

#### [Django Software Foundation monthly meeting, May 13, 2023](https://cur.at/VrGXagI?m=rss)

Meeting minutes for DSF Board monthly meeting, May 13, 2023.

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

### Sponsored Link
[![](https://dxj7eshgz03ln.cloudfront.net/production/link/image/861852/original_ratio_medium_dab2db04-a6fa-4fd9-8b26-9e736db9cf49.jpg "Django for Beginners/APIs/Professionals")](https://cur.at/559V3gW?m=rss)
#### [Django for Beginners/APIs/Professionals](https://cur.at/559V3gW?m=rss)

Level up your Django knowledge with Django for Beginners, Django for APIs, or Django for Professionals, or gift it to a friend. Sample chapters are available to preview for free. Bundle discount available!

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

### Articles

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

A very, very cool example of using "old" tech to solve new problems, aka using server-sent events, Psycopg3, and Django 4.2 to write a "real-time" chat application without using websockets.

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

#### [AstroVenture and University of Mars](https://cur.at/nR0ebqO?m=rss)

More notes on moving from PHP over to Django for an immersive video game that can be used to learn astronomy at the introductory college level.

[programmingmylife.com](https://cur.at/nR0ebqO?m=rss)

#### [pytz: The Fastest Footgun in the West](https://cur.at/FjIQaWY?m=rss)

An explanation of the differences between dateutil and pytz's time zone models and why people tend to misuse pytz and introduce bugs into their datetime code.

[ganssle.io](https://cur.at/FjIQaWY?m=rss)

### Events

#### [Django Day Copenhagen 2023](https://cur.at/uFi2xOK?m=rss)

The fourth edition Django Day Copenhagen is happening October 6th. It will be a full day of talks--either in-person or online.

The [Call for Proposals](https://cur.at/X1TofT8?m=rss) is now open as well.

[djangoday.dk](https://cur.at/uFi2xOK?m=rss)

### Tutorials

#### [Django Form Validation Guide](https://cur.at/FzUnL84?m=rss)

An overview of several ways to perform form validation in Django.

[accordbox.com](https://cur.at/FzUnL84?m=rss)

### Sponsored Ad
[![](https://dxj7eshgz03ln.cloudfront.net/production/link/image/861851/original_ratio_medium_ee4e29fc-1f54-4e8d-a8ea-587b84aa09b1.png "Sponsor Django News")](https://cur.at/CpKPG9L?m=rss)
#### [Sponsor Django News](https://cur.at/CpKPG9L?m=rss)

[django-news.com](https://cur.at/CpKPG9L?m=rss)

### Videos

#### [DjangoX - A Free Django Starter Project with Batteries](https://cur.at/z9mbDLJ?m=rss)

Short screencast demoing the features included in the free [DjangoX starter project](https://cur.at/x1SzR0J?m=rss).

[youtu.be](https://cur.at/z9mbDLJ?m=rss)

### Projects

#### [amerkurev/django-docker-template](https://cur.at/uZRCA9X?m=rss)

Dockerized Django with Postgres, Gunicorn, and Traefik (with auto renew Let's Encrypt).

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

#### [WeblateOrg/weblate](https://cur.at/ck3bwwr?m=rss)

Web based localization tool with tight version control integration.

[github.com](https://cur.at/ck3bwwr?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).