#37139: Using db_default with the new UUID4 and UUID7 functions crashes in the
admin.
-------------------------------------+-------------------------------------
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):
* severity: Release blocker => Normal
* version: 6.1 => 5.2
Comment:
Reproduced on 5.2 with a project that had an equivalent custom function. I
think admin inlines require having a python default on the field.
Offhand, I don't think we can easily add support for this. A docs tweak
might be good?
--
Ticket URL: <https://code.djangoproject.com/ticket/37139#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019e8d83855c-bc53de10-a1fe-4088-95ba-5e94e123aadc-000000%40eu-central-1.amazonses.com.