summaryrefslogtreecommitdiff
path: root/django/db/backends/postgresql/base.py
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2017-05-23 15:09:35 +0200
committerTim Graham <timograham@gmail.com>2017-05-23 09:09:35 -0400
commitb3eb6eaf1a197ff155faf333871da032c77ba855 (patch)
tree185f965059811b862e4a0f4372a3db4918911beb /django/db/backends/postgresql/base.py
parent5dc6f77423084dd7c99549b1e477ee573802f5a4 (diff)
downloaddjango-b3eb6eaf1a197ff155faf333871da032c77ba855.tar.gz
Refs #27859 -- Added DatabaseWrapper.display_name.
Thanks Tim Graham for the review.
Diffstat (limited to 'django/db/backends/postgresql/base.py')
-rw-r--r--django/db/backends/postgresql/base.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/django/db/backends/postgresql/base.py b/django/db/backends/postgresql/base.py
index dd20656c3b..15adb0282e 100644
--- a/django/db/backends/postgresql/base.py
+++ b/django/db/backends/postgresql/base.py
@@ -59,6 +59,7 @@ psycopg2.extensions.register_type(INETARRAY)
class DatabaseWrapper(BaseDatabaseWrapper):
vendor = 'postgresql'
+ display_name = 'PostgreSQL'
# This dictionary maps Field objects to their associated PostgreSQL column
# types, as strings. Column-type strings can contain format strings; they'll
# be interpolated against the values of Field.__dict__ before being output.