mirror of
https://github.com/django/django.git
synced 2025-06-05 11:39:13 +00:00
Fix features check
This commit is contained in:
parent
298d696ea2
commit
cd3ba1edf7
@ -1920,7 +1920,7 @@ class SQLUpdateCompiler(SQLCompiler):
|
|||||||
"""
|
"""
|
||||||
if (
|
if (
|
||||||
self.query.update_returning
|
self.query.update_returning
|
||||||
and not self.connection.can_return_columns_from_update
|
and not self.connection.features.can_return_columns_from_update
|
||||||
):
|
):
|
||||||
raise NotSupportedError("This backend does not support UPDATE RETURNING")
|
raise NotSupportedError("This backend does not support UPDATE RETURNING")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user