summaryrefslogtreecommitdiff
path: root/django/db/backends/postgresql/features.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2021-08-24 02:28:03 -0400
committerGitHub <noreply@github.com>2021-08-24 08:28:03 +0200
commit022d29c934107c515dd6d3181945146a2077bdf0 (patch)
treec6624a5b2d783f0a5380afc5a4c7fb065b6a7d67 /django/db/backends/postgresql/features.py
parented317e79e355bd3aacb1393b821df7b1a7267ebc (diff)
downloaddjango-022d29c934107c515dd6d3181945146a2077bdf0.tar.gz
Refs #10929 -- Allowed NowUTC SQL customization for third-party backends.
Diffstat (limited to 'django/db/backends/postgresql/features.py')
-rw-r--r--django/db/backends/postgresql/features.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/django/db/backends/postgresql/features.py b/django/db/backends/postgresql/features.py
index 722bfe0475..09c157505e 100644
--- a/django/db/backends/postgresql/features.py
+++ b/django/db/backends/postgresql/features.py
@@ -62,6 +62,7 @@ class DatabaseFeatures(BaseDatabaseFeatures):
'non_default': 'sv-x-icu',
'swedish_ci': 'sv-x-icu',
}
+ test_now_utc_template = "STATEMENT_TIMESTAMP() AT TIME ZONE 'UTC'"
django_test_skips = {
'opclasses are PostgreSQL only.': {