From 2d53f128082d8050167c9d1687e37f404db98545 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Tue, 6 Apr 2021 12:09:20 +0100 Subject: [PATCH] Can't use UUIDField like this yet See https://code.djangoproject.com/ticket/32577 --- content/posts/django-32.md | 1 - 1 file changed, 1 deletion(-) diff --git a/content/posts/django-32.md b/content/posts/django-32.md index 1832dfe..15869c1 100644 --- a/content/posts/django-32.md +++ b/content/posts/django-32.md @@ -93,7 +93,6 @@ The new change in Django 3.2 is that you can configure which field Django automa ```python DEFAULT_AUTO_FIELD = 'django.db.models.AutoField' # 31-bit DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' # 64-bit -DEFAULT_AUTO_FIELD = 'django.db.models.UUIDField' # 128-bit ``` If you run out of 128-bit primary keys, you're either doing something wrong or crazy (or both).