#36735: Add UUID4 and UUID7 database functions
-------------------------------------+-------------------------------------
Reporter: Lily | Type: New
| feature
Status: new | Component: Database
| layer (models, ORM)
Version: dev | Severity: Normal
Keywords: uuid | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
As discussed in
https://github.com/django/new-features/issues/85, multiple
databases (postgres, mariadb, oracle) have support for generating uuid4
and uuid7 values and it seems likely that other databases will follow.
They are also popular choices for database primary keys, and together with
`db_default` this will make it easy to use from Django.
django.contrib.postgres also has a `RandomUUID` function which supports
uuid4. This can be deprecated and removed.
--
Ticket URL: <
https://code.djangoproject.com/ticket/36735>
Django <
https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.