Daniele Bortoluzzi
931a4e4198
Fix #149 Add support to official Microsoft mssql-django adapter ( #150 )
...
* Fix #149 Add support to official Microsoft mssql-django adapter
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: Matt Seymour <mattaseymour@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-05-28 21:18:21 +01:00
Matt Seymour
98421fdf85
Merge branch 'master' into cockroachdb
2022-05-17 22:13:39 +01:00
Matt Seymour
3e87a497f8
Re-format code to black, isort, flake8
2022-05-04 09:51:32 +01:00
Matt Seymour
973b0bcf35
Add flake8 and black config, re-format
...
* Adds a basic black and flake8 compatible config
* Reformat the code with black using skip string normalization
2022-01-11 12:56:31 +00:00
Tom Parker-Shemilt
78d225c069
Add support for CockroachDB
2021-06-07 22:50:57 +01:00
Ian Stapleton Cordasco
53c3d79d6e
Merge pull request #101 from mintel/psycopg2
...
fix #96 deprecated postgres backend strings
2018-05-03 10:15:01 -05:00
Ian Stapleton Cordasco
b6b6a1f25b
Merge pull request #100 from elohmeier/master
...
use str port for mssql
2018-05-02 09:39:43 -05:00
Jaye Doepke
8b48e4bd40
fix #96 deprecated postgres backend strings
...
The backend "django.db.backends.postgresql_psycopg2" has been deprecated
in Django 2.0 in favor of "django.db.backends.postgresql".
https://docs.djangoproject.com/en/2.0/releases/2.0/#id1
2018-03-28 17:14:04 -05:00
Kenneth Reitz
de91c7de55
v0.5.0
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-03-01 13:37:00 -05:00
Enno Lohmeier
e2f43d97a1
use str port for mssql
2018-02-07 21:33:10 +01:00
Enno Lohmeier
ec2428fea0
add mssql support using pyodbc
2017-08-21 11:59:09 +02:00
klashxx
e370c860b8
Django expects Oracle Ports as strings
2017-04-08 12:46:36 +02:00
Alex Tomkins
be4c7f2262
Fix IPv6 address parsing
2017-01-20 15:06:53 +00:00
Kenneth Reitz
99b5b7c697
Merge pull request #73 from kingbuzzman/master
...
Fixes issue with unix file paths being turned to lower case
2017-01-05 12:45:29 -05:00
Daniel Berry
8a24aab17d
added option of postgis backend to also add path parsing. (test added also)
2016-12-14 09:45:31 -06:00
Alexey Evseev
89a55460d6
Support schema definition for redshift
...
In addition to postgres, redshift database is also support schema.
Respect it by 'currentSchema' param.
Also, we need to not include this param as in in Django's DATABASES
settings. Otherwise, following error is raised:
```
django.db.utils.OperationalError: invalid connection option
"currentSchema"
```
2016-11-28 15:49:26 +03:00
makoto tsuyuki
d1139e3e71
add redshift support
2016-10-25 17:25:01 +09:00
buzzi
8974da0191
Fixes issue with unix file paths being turned to lower case
2016-09-28 17:01:57 +02:00
Kenneth Reitz
afc4d3946c
Revert "Merge pull request #69 from johntellsall/issue-68-redis-support"
...
This reverts commit 183428f624 , reversing
changes made to 7d89221325 .
2016-06-22 19:22:29 -04:00
John Mitchell
6e4ffaf394
add Redis support
2016-06-17 14:48:51 -07:00
Tobias Wilken
fc63b54ec7
Enable CA providing for MySQL URIs
...
Using `ssl-ca` from the command line as parameter to provide the CA.
Django MySQL database configuration uses a nested dictionary:
```
{'options': {
'ssl': {
'ca': 'PATH TO CA'
}
}
```
2016-04-06 18:15:08 +02:00
Kenneth Reitz
4ecda6a1cc
Manual merge of #59
...
/cc eisensheng
2016-02-02 19:07:35 -05:00
Kenneth Reitz
bf55358444
fix for python3
2016-02-02 17:36:35 -05:00
Kenneth Reitz
a14d69adb2
Merge pull request #36 from svdgraaf/master
...
Added support for python mysql-connector
2016-02-02 17:34:09 -05:00
Kenneth Reitz
b7b75fa0b8
Merge pull request #42 from slafs/oraclesupport
...
add oracle support
2016-02-02 17:32:49 -05:00
Kenneth Reitz
19dc4ab90a
Merge pull request #45 from tomwys/special_characters
...
Support special characters in user, password and name fields.
2016-02-02 17:32:03 -05:00
Kenneth Reitz
3e057546bb
Merge pull request #52 from rcrdclub/master
...
Proper support for OPTIONS based on DATABASE_URL querystring
2016-02-02 17:09:47 -05:00
Kenneth Reitz
a5a4aaa624
Revert "Merge pull request #59 from eisensheng/master"
...
This reverts commit e13cc5ff96 , reversing
changes made to 063ff555dd .
2016-02-02 17:08:10 -05:00
Kenneth Reitz
e13cc5ff96
Merge pull request #59 from eisensheng/master
...
Handle search path config in connect url for postgres
2016-02-02 17:05:56 -05:00
Arthur Skowronek
c12fa956fb
Handle search path config in connect url for postgres
2015-11-11 18:47:21 +01:00
Sam Sandberg
b83dfb52ce
Simplified the querystring parse logic
...
Apparently I was targetting an older version of python 2.7 where urlparse worked differently
2015-05-15 12:32:15 -04:00
Sam Sandberg
4cc995adc7
Travis didn't like my dict comprehension D:
2015-05-14 18:05:12 -04:00
Sam Sandberg
7f6717e434
Cleaned up querystring parsing
...
Moved `_parse_querystring_for_options()` into its own function
Added test for empty querystring params
2015-05-14 17:52:16 -04:00
Sam Sandberg
5336a0c014
Don't need this main() stuff for prod
2015-05-14 17:15:26 -04:00
Jeremy Shute
e8ea0a64fa
supports database options
2015-05-14 17:15:26 -04:00
Peter J. Farrell
0dd4d2a0dd
Add in optional support for CONN_MAX_AGE
2015-05-11 00:29:47 -05:00
Tomasz Wysocki
de8475f237
Support special characters in user, password and name fields.
2014-12-31 17:42:42 +01:00
Sławek Ehlert
10a7b4c7eb
add oracle support
2014-10-24 21:05:40 +02:00
Danilo Bargen
8c7fa4a026
Added support for percent-encoded postgres paths
...
This allows the user to specify unix domain sockets as host.
Example: postgresql://%2Fvar%2Flib%2Fpostgresql/dbname
Reference: http://www.postgresql.org/docs/9.2/interactive/libpq-connect.html#AEN38162
2014-08-26 22:10:36 +02:00
Sander van de Graaf
56fbae1548
added support for python mysql-connector
2014-03-28 11:50:25 +01:00
Michael Warkentin
5abe35049f
Add MySQL (GIS) support
...
Add mysqlgis url scheme which uses django.contrib.gis.db.backends.mysql,
add a test, and update the README.
2014-01-08 15:18:46 -05:00
Kenneth Reitz
958717e05d
Merge pull request #26 from hiisi13/master
...
Ability to set different engine
2014-01-08 11:15:47 -08:00
Kenneth Reitz
e19ea2ed75
Merge pull request #22 from flashingpumpkin/master
...
Added spatialite backend
2014-01-08 11:13:44 -08:00
Kenneth Reitz
3963baf36b
Merge pull request #13 from gabrielgrant/patch-1
...
Add "pgsql" as a PostgreSQL URL scheme.
2014-01-08 11:13:20 -08:00
Kenneth Reitz
19d7c8f1b9
Merge pull request #10 from cberner/master
...
This patch fixes the way urls are parsed to support blank passwords, usernames, hostnames...etc. This is particularly important in dev environments with Postgres, where blank passwords currently don't work
2014-01-08 11:12:37 -08:00
Dmitry Kozhedubov
fb302bc609
Ability to set different engine
2013-12-15 20:59:18 +04:00
Alen Mujezinovic
a573afce27
Added spatialite to uses_netloc too
2013-02-04 15:24:58 +00:00
Alen Mujezinovic
a1f61599ca
Added spatialite backend
2013-02-01 16:33:44 +00:00
carlio
e17c0308c7
Replacing tab with spaces
2013-01-05 11:28:27 +01:00
carlio
a14743d00b
Handling special case of sqlite://:memory:
2013-01-05 11:25:37 +01:00