diff --git a/README.rst b/README.rst index 58d89ff8..7b8903a7 100644 --- a/README.rst +++ b/README.rst @@ -17,20 +17,19 @@ Microsoft SQL Server and Azure SQL Database. Features -------- -- Supports Django 2.0.1 +- Supports Django 2.0.3 - Supports Microsoft SQL Server 2008/2008R2, 2012, 2014, 2016, 2017 and Azure SQL Database -- Supports LIMIT+OFFSET and offset w/o LIMIT emulation - Passes most of the tests of the Django test suite - Compatible with `Micosoft ODBC Driver for SQL Server `__, `SQL Server Native Client `__, - and `FreeTDS `__ ODBC drivers. + and `FreeTDS `__ ODBC drivers Dependencies ------------ -- Django 2.0.1 +- Django 2.0.3 - pyodbc 3.0 or newer Installation diff --git a/setup.py b/setup.py index be576189..04e2c2de 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ setup( name='django-pyodbc-azure', - version='2.0.1.0', + version='2.0.3.0', description='Django backend for Microsoft SQL Server and Azure SQL Database using pyodbc', long_description=open('README.rst').read(), author='Michiya Takahashi', @@ -26,7 +26,7 @@ license='BSD', packages=['sql_server', 'sql_server.pyodbc'], install_requires=[ - 'Django>=2.0.1,<2.1', + 'Django>=2.0.3,<2.1', 'pyodbc>=3.0', ], classifiers=CLASSIFIERS, diff --git a/sql_server/pyodbc/base.py b/sql_server/pyodbc/base.py index 9b662892..66d44d08 100644 --- a/sql_server/pyodbc/base.py +++ b/sql_server/pyodbc/base.py @@ -8,7 +8,7 @@ from django.core.exceptions import ImproperlyConfigured from django import VERSION -if VERSION[:3] < (2,0,1) or VERSION[:2] >= (2,1): +if VERSION[:3] < (2,0,3) or VERSION[:2] >= (2,1): raise ImproperlyConfigured("Django %d.%d.%d is not supported." % VERSION[:3]) try: