diff --git a/sql_server/pyodbc/features.py b/sql_server/pyodbc/features.py index 2e27e3e5..18945f4d 100644 --- a/sql_server/pyodbc/features.py +++ b/sql_server/pyodbc/features.py @@ -1,8 +1,3 @@ -try: - import pytz -except ImportError: - pytz = None - from django.db.backends.base.features import BaseDatabaseFeatures @@ -18,7 +13,8 @@ class DatabaseFeatures(BaseDatabaseFeatures): has_real_datatype = True has_select_for_update = True has_select_for_update_nowait = True - has_zoneinfo_database = pytz is not None + has_select_for_update_skip_locked = True + has_zoneinfo_database = False ignores_table_name_case = True ignores_quoted_identifier_case = True requires_literal_defaults = True