Skip to content

Commit 69e84e3

Browse files
authored
Merge pull request joke2k#126 from FlipperPA/pyodbc-support
Add scheme for pyodbc for use with django-pyodbc
2 parents 5f6f422 + f990eb2 commit 69e84e3

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ Supported Types
187187
- SQLITE: sqlite://
188188
- SQLITE with SPATIALITE for GeoDjango: spatialite://
189189
- Oracle: oracle://
190+
- PyODBC: pyodbc://
190191
- Redshift: redshift://
191192
- LDAP: ldap://
192193
- cache_url

environ/environ.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ class Env(object):
7878
'mysql2': 'django.db.backends.mysql',
7979
'mysqlgis': 'django.contrib.gis.db.backends.mysql',
8080
'oracle': 'django.db.backends.oracle',
81+
'pyodbc': 'sql_server.pyodbc',
8182
'redshift': 'django_redshift_backend',
8283
'spatialite': 'django.contrib.gis.db.backends.spatialite',
8384
'sqlite': 'django.db.backends.sqlite3',

0 commit comments

Comments
 (0)