#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.
--
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/0107019a888737cb-78ae805f-b652-4e65-9623-512e4449068b-000000%40eu-central-1.amazonses.com.