diff --git a/django/db/backends/oracle/base.py b/django/db/backends/oracle/base.py index fda203cdaf..5409037d41 100644 --- a/django/db/backends/oracle/base.py +++ b/django/db/backends/oracle/base.py @@ -78,6 +78,7 @@ class DatabaseFeatures(BaseDatabaseFeatures): can_return_id_from_insert = True allow_sliced_subqueries = False supports_subqueries_in_group_by = False + supports_transactions = True supports_timezones = False supports_bitwise_or = False can_defer_constraint_checks = True diff --git a/django/db/backends/postgresql_psycopg2/base.py b/django/db/backends/postgresql_psycopg2/base.py index 5837922061..9783c9fbf4 100644 --- a/django/db/backends/postgresql_psycopg2/base.py +++ b/django/db/backends/postgresql_psycopg2/base.py @@ -84,6 +84,7 @@ class DatabaseFeatures(BaseDatabaseFeatures): has_select_for_update_nowait = True has_bulk_insert = True supports_tablespaces = True + supports_transactions = True can_distinct_on_fields = True class DatabaseWrapper(BaseDatabaseWrapper):