diff options
author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2017-05-23 15:09:35 +0200 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2017-05-23 09:09:35 -0400 |
commit | b3eb6eaf1a197ff155faf333871da032c77ba855 (patch) | |
tree | 185f965059811b862e4a0f4372a3db4918911beb /django/db/backends/postgresql/base.py | |
parent | 5dc6f77423084dd7c99549b1e477ee573802f5a4 (diff) | |
download | django-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.py | 1 |
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. |