1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #30240 -- Added SHA1, SHA224, SHA256, SHA384, and SHA512 database functions.

Thanks Mariusz Felisiak and Tim Graham for reviews.
This commit is contained in:
Nick Pope
2019-03-20 18:30:43 +00:00
committed by Mariusz Felisiak
parent 0193bf874f
commit 0b70985f42
13 changed files with 439 additions and 19 deletions

View File

@@ -168,7 +168,12 @@ Migrations
Models
~~~~~~
* Added the :class:`~django.db.models.functions.MD5` database function.
* Added hash database functions :class:`~django.db.models.functions.MD5`,
:class:`~django.db.models.functions.SHA1`,
:class:`~django.db.models.functions.SHA224`,
:class:`~django.db.models.functions.SHA256`,
:class:`~django.db.models.functions.SHA384`, and
:class:`~django.db.models.functions.SHA512`.
* The new ``is_dst`` parameter of the
:class:`~django.db.models.functions.Trunc` database functions determines the