Skip to content

Commit 57c45ff

Browse files
committed
Fix django version check
1 parent 694a96a commit 57c45ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql_server/pyodbc/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from django.core.exceptions import ImproperlyConfigured
99
from django import VERSION
1010

11-
if VERSION[:3] < (2, 1, 0) or VERSION[:2] >= (2, 2):
11+
if VERSION[:3] < (2, 2, 0) or VERSION[:2] >= (2, 3):
1212
raise ImproperlyConfigured("Django %d.%d.%d is not supported." % VERSION[:3])
1313

1414
try:

0 commit comments

Comments
 (0)