Django's GeneratedField by example
2025-09-08 , Room B

The GeneratedField is a new field available in Django 5.0 whose value is computed entirely by the database based on the other fields in the model. In this talk, we will learn together how to use this field through various practical examples.


Database generated columns are a killer feature for Django and are now available in Django 5.0 with the new GeneratedField.

The value of a GeneratedField is computed entirely by the database based on the other fields in the model, opening up very interesting usage scenarios.

In this talk, we will learn together how to use this field through various practical examples, using various Django supported database backends.

I'm Paolo Melchiorre (aka paulox) — Python backend developer, Django contributor, and Python Software Foundation Fellow.

Django Software Foundation Director, Django Girls+ coach and organizer, and proud Djangonaut Space navigator.

Organize PyCon Italia, founded Python Pescara, and I'm a Python Italia member.

Also, a conference speaker, GNU/Linux user, Free Software advocate, University of Bologna alumnus, Computer Engineer and technical blogger.