summaryrefslogtreecommitdiff
path: root/django/contrib/postgres/functions.py
diff options
context:
space:
mode:
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()