Skip to content

Commit 33744cc

Browse files
committed
add suppported feature
1 parent 8387f95 commit 33744cc

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

sql_server/pyodbc/features.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
try:
2-
import pytz
3-
except ImportError:
4-
pytz = None
5-
61
from django.db.backends.base.features import BaseDatabaseFeatures
72

83

@@ -18,7 +13,8 @@ class DatabaseFeatures(BaseDatabaseFeatures):
1813
has_real_datatype = True
1914
has_select_for_update = True
2015
has_select_for_update_nowait = True
21-
has_zoneinfo_database = pytz is not None
16+
has_select_for_update_skip_locked = True
17+
has_zoneinfo_database = False
2218
ignores_table_name_case = True
2319
ignores_quoted_identifier_case = True
2420
requires_literal_defaults = True

0 commit comments

Comments
 (0)