Re: [Django] #37139: InlineAdmin breaks when using db_default on primary key field without a python default (was: Using db_default with the new UUID4 and UUID7 functions crashes in the admin.)

3 views
Skip to first unread message

Django

unread,
Jun 3, 2026, 8:49:06 AMJun 3
to django-...@googlegroups.com
#37139: InlineAdmin breaks when using db_default on primary key field without a
python default
-------------------------------------+-------------------------------------
Reporter: Mariusz Felisiak | Owner: Mariusz
| Felisiak
Type: Bug | Status: assigned
Component: contrib.admin | Version: 5.2
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Jacob Walls):

* summary:
Using db_default with the new UUID4 and UUID7 functions crashes in the
admin.
=>
InlineAdmin breaks when using db_default on primary key field without
a python default

--
Ticket URL: <https://code.djangoproject.com/ticket/37139#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Reply all
Reply to author
Forward
0 new messages