Skip to content

Commit

Permalink
Merge pull request joke2k#126 from FlipperPA/pyodbc-support
Browse files Browse the repository at this point in the history
Add scheme for pyodbc for use with django-pyodbc
  • Loading branch information
joke2k authored Aug 21, 2017
2 parents 5f6f422 + f990eb2 commit 69e84e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ Supported Types
- SQLITE: sqlite://
- SQLITE with SPATIALITE for GeoDjango: spatialite://
- Oracle: oracle://
- PyODBC: pyodbc://
- Redshift: redshift://
- LDAP: ldap://
- cache_url
Expand Down
1 change: 1 addition & 0 deletions environ/environ.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ class Env(object):
'mysql2': 'django.db.backends.mysql',
'mysqlgis': 'django.contrib.gis.db.backends.mysql',
'oracle': 'django.db.backends.oracle',
'pyodbc': 'sql_server.pyodbc',
'redshift': 'django_redshift_backend',
'spatialite': 'django.contrib.gis.db.backends.spatialite',
'sqlite': 'django.db.backends.sqlite3',
Expand Down

0 comments on commit 69e84e3

Please sign in to comment.