summaryrefslogtreecommitdiff
path: root/django/contrib/postgres/functions.py
diff options
context:
space:
mode:
authordjango-bot <ops@djangoproject.com>2022-02-03 20:24:19 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-02-07 20:37:05 +0100
commit9c19aff7c7561e3a82978a272ecdaad40dda5c00 (patch)
treef0506b668a013d0063e5fba3dbf4863b466713ba /django/contrib/postgres/functions.py
parentf68fa8b45dfac545cfc4111d4e52804c86db68d3 (diff)
Refs #33476 -- Reformatted code with Black.
Diffstat (limited to 'django/contrib/postgres/functions.py')
-rw-r--r--django/contrib/postgres/functions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/contrib/postgres/functions.py b/django/contrib/postgres/functions.py
index 819ce058e5..f001a04fdc 100644
--- a/django/contrib/postgres/functions.py
+++ b/django/contrib/postgres/functions.py
@@ -2,10 +2,10 @@ from django.db.models import DateTimeField, Func, UUIDField
class RandomUUID(Func):
- template = 'GEN_RANDOM_UUID()'
+ template = "GEN_RANDOM_UUID()"
output_field = UUIDField()
class TransactionNow(Func):
- template = 'CURRENT_TIMESTAMP'
+ template = "CURRENT_TIMESTAMP"
output_field = DateTimeField()