1
0
mirror of https://github.com/django/django.git synced 2025-06-08 13:09:13 +00:00

Missing newline

This commit is contained in:
Aivars Kalvans 2023-09-25 12:49:03 +03:00
parent c3a0ff4ede
commit 298d696ea2
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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")