summaryrefslogtreecommitdiff
path: root/django/db/backends/postgresql/features.py
diff options
context:
space:
mode:
authorJohannes Hoppe <info@johanneshoppe.com>2019-01-30 15:31:56 -0500
committerTim Graham <timograham@gmail.com>2019-01-30 15:31:56 -0500
commitb131f9c79f3284f7220c65ceb9125ba4278dc0a4 (patch)
treeb333424dc5f907afec26788fed5943e3eeda5ee5 /django/db/backends/postgresql/features.py
parent16a5a2a2c8d8dbf9cc3e033dd84b986bcaadb963 (diff)
downloaddjango-b131f9c79f3284f7220c65ceb9125ba4278dc0a4.tar.gz
Refs #29444 -- Renamed DatabaseFeatures.can_return_id* to be generic for other columns.
Diffstat (limited to 'django/db/backends/postgresql/features.py')
-rw-r--r--django/db/backends/postgresql/features.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/db/backends/postgresql/features.py b/django/db/backends/postgresql/features.py
index 5c8701c396..af3cde88b9 100644
--- a/django/db/backends/postgresql/features.py
+++ b/django/db/backends/postgresql/features.py
@@ -7,8 +7,8 @@ from django.utils.functional import cached_property
class DatabaseFeatures(BaseDatabaseFeatures):
allows_group_by_selected_pks = True
- can_return_id_from_insert = True
- can_return_ids_from_bulk_insert = True
+ can_return_columns_from_insert = True
+ can_return_rows_from_bulk_insert = True
has_real_datatype = True
has_native_uuid_field = True
has_native_duration_field = True