mirror of
https://github.com/django/django.git
synced 2025-06-08 13:09:13 +00:00
Missing newline
This commit is contained in:
parent
c3a0ff4ede
commit
298d696ea2
@ -155,4 +155,4 @@ class DatabaseFeatures(BaseDatabaseFeatures):
|
||||
|
||||
@cached_property
|
||||
def can_return_columns_from_update(self):
|
||||
return Database.sqlite_version_info >= (3, 35)
|
||||
return Database.sqlite_version_info >= (3, 35)
|
||||
|
@ -1920,7 +1920,7 @@ class SQLUpdateCompiler(SQLCompiler):
|
||||
"""
|
||||
if (
|
||||
self.query.update_returning
|
||||
and not self.connection.features.can_return_columns_from_update
|
||||
and not self.connection.can_return_columns_from_update
|
||||
):
|
||||
raise NotSupportedError("This backend does not support UPDATE RETURNING")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user