Django News - Bringing Locality of Behavior to Django
Tags: django, python, djangocon
Published: 2023-06-23 15:42:27

---
title: Django News - Bringing Locality of Behavior to Django
published: true
date: 2023-06-23 10:00:00 UTC
tags: django, python, djangocon 
canonical_url: https://django-news.com/issues/185
---

### News

#### [The 2023 PSF Board Election is Open!](https://cur.at/53hTMC1?m=rss)

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](https://cur.at/53hTMC1?m=rss)

#### [Wagtail 5.0.2 release notes](https://cur.at/BM8d8Tc?m=rss)

New features and bug fixes in the latest Wagtail version.

[wagtail.org](https://cur.at/BM8d8Tc?m=rss)

#### [Announcing Our New Security Developer in Residence!](https://cur.at/euCnB2Y?m=rss)

The Python Software Foundation now has a security developer in residence.

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

### Updates to Django

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

From Django Review and Triage Team Member [Sarah Boyce](https://cur.at/5RavGGg?m=rss)...

Last week we had [13 pull requests](https://cur.at/tLp6iVu?m=rss) merged into Django by 10 different contributors - including 2 first time contributors! Congratulations to [Olivier Le Thanh Duong](https://cur.at/vyWR5cz?m=rss) and [Ashwin Dharne](https://cur.at/vGS4hyG?m=rss) for having their first commits merged into Django - welcome on board!

This time [filtering support](https://cur.at/KuIWQfV?m=rss) was added to GIS aggregate functions, and an [offset](https://cur.at/LElAbgJ?m=rss) value was added to `StepValueValidator`! You will be able to use both of these features in 5.0.

Do you want to add something into Django 5.0? Why don't you update `assertContains` and `assertInHTML` to output a haystack on failure [#34657](https://cur.at/waZ2acF?m=rss)? Look forward to welcoming you on board!

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

### Sponsored Link
[![](https://dxj7eshgz03ln.cloudfront.net/production/link/image/866966/original_ratio_medium_c58e2d46-011e-40ce-b0b3-d7c967c8aa38.png "Learn More About our Django Services")](https://cur.at/CVXZOS7?m=rss)
#### [Learn More About our Django Services](https://cur.at/CVXZOS7?m=rss)

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

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

### Articles

#### [Building Search DSLs with Django](https://cur.at/yXHO4Dv?m=rss)

What happens when there are too many fields for a UI to search on? Search DSLs can give a user more granular access to searching without exposing an overly complicated interface.

[danlamanna.com](https://cur.at/yXHO4Dv?m=rss)

#### [Bringing Locality of Behaviour to Django Views and URLs](https://cur.at/QOjS0pg?m=rss)

An attempt via [django-view-decorator](https://cur.at/egjwHxY?m=rss) to bring more locality of behaviour between Django URLs and views. Picking up on the concept first popularized by HTMX and highlighted by Carlton Gibson in his recent [DjangoCon Europe talk](https://cur.at/1jOWY52?m=rss), among other places.

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

#### [Django Model Fields With Attributes](https://cur.at/9lWdtLq?m=rss)

Jacob shows us how to use `contribute_to_class`, a `Descriptor`, and a string class to create a custom `MarkdownField` that can display both text and html.

[jacobian.org](https://cur.at/9lWdtLq?m=rss)

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

Why `format_html()` can be dangerous, how to fix it, and why Django 5.0+ now has a patch fixing the issue.

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

### Tutorials

#### [Caching in Django with Redis](https://cur.at/2uHc1LE?m=rss)

A step-by-step guide on implementing caching with Redis in Django.

[fly.io](https://cur.at/2uHc1LE?m=rss)

### Sponsored Ad
[![](https://dxj7eshgz03ln.cloudfront.net/production/link/image/870791/original_ratio_medium_7bef91e9-b32d-4beb-aed2-1ff088ad6e09.png "Blaze.horse — Django Starter Kit")](https://cur.at/PBX0zFN?m=rss)
#### [Blaze.horse — Django Starter Kit](https://cur.at/PBX0zFN?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/PBX0zFN?m=rss)

### Videos

#### [DjangoCon Europe 2023: Use SQLite in production](https://cur.at/IF3DULt?m=rss)

Tom Dyson revisits the traditional wisdom that SQLite is not suitable for production. He takes a deep look at several real-world examples, comparing its performance against traditional database options (PostgreSQL, MySQL, etc). And he explores exciting new developments in the SQLite ecosystem, particularly those which enable its use in machine learning in general and LLMs (large language models) in particular.

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

#### [DjangoCon Europe 2023: All about djangoproject.com](https://cur.at/ypQH4UN?m=rss)

Paolo Melchiorre discusses the latest updates to the DjangoProject.com website, ongoing improvements, and exciting new developments.

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

### Podcasts

#### [Django Chat #141: How to Learn Django (Replay)](https://cur.at/deIIZF8?m=rss)

Carlton and Will discuss how to learn Django whether you are a total beginner or experienced web developer.

[djangochat.com](https://cur.at/deIIZF8?m=rss)

### Projects

#### [carltongibson/django-filter](https://cur.at/h5wMglC?m=rss)

A generic system for filtering Django QuerySets based on user selections.

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

#### [mxsasha/django-restricted-sessions](https://cur.at/SFUcaYW?m=rss)

Restrict Django sessions to IP and/or user agent.

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

#### [valberg/django-view-decorator/](https://cur.at/gh2WmBq?m=rss)

A very beta but cool decorator aimed at bringing locality of behaviour to the connection between a URL and a view in Django.

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