Skip to content

Commit

Permalink
add suppported feature
Browse files Browse the repository at this point in the history
  • Loading branch information
michiya committed Mar 28, 2018
1 parent 8387f95 commit 33744cc
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions sql_server/pyodbc/features.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
try:
import pytz
except ImportError:
pytz = None

from django.db.backends.base.features import BaseDatabaseFeatures


Expand All @@ -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
Expand Down

0 comments on commit 33744cc

Please sign in to comment.