Just published a new article on how to use UUIDv7 today with Python 3.14, Django 5.2 and PostgreSQL 18 ๐
I walk through Python generation, Django models, db_default, PostgreSQL functions, GeneratedField and even UUIDv47 for safer public IDs ๐ค
Hope it's useful! ๐
๐ https://www.paulox.net/2025/11/14/how-to-use-uuidv7-in-python-django-and-postgresql/
#Python #Django #PostgreSQL #UUIDv7 #UUIDv47 #Python314 #Django52 #Postgres18

How to use UUIDv7 in Python, Django andย PostgreSQL
Learn how to use UUIDv7 today with stable releases of Python 3.14, Django 5.2 and PostgreSQL 18. A step by step guide showing how to generate UUIDv7 in Python, store them in Django models, use PostgreSQL native functions and build time ordered primary keys without writing SQL.
www.paulox.net ยท Paolo Melchiorre
Link author:
Paolo Melchiorre@paulox@fosstodon.org