Commit graph

139 commits

Author SHA1 Message Date
Kenneth Reitz
7e8bd03026 Merge pull request #80 from boundlessgeo/master
added option of postgis backend to also add path parsing.
2017-01-05 12:43:57 -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
Kenneth Reitz
f1b7985be1 Merge pull request #78 from st4lk/fix-redshift-support
Support schema definition for redshift
2016-11-28 19:26:44 -05: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
Kenneth Reitz
97bc560445 Merge pull request #76 from uncovertruth/add_redshift_support
add redshift support
2016-10-26 00:48:17 -04:00
makoto tsuyuki
d1139e3e71 add redshift support 2016-10-25 17:25:01 +09: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
Kenneth Reitz
183428f624 Merge pull request #69 from johntellsall/issue-68-redis-support
Issue 68 redis support
2016-06-20 22:07:06 -04:00
John Mitchell
e4632c989d fix spacing 2016-06-20 13:28:16 -07:00
John Mitchell
cf873a14c6 revert version number 2016-06-17 14:50:28 -07:00
John Mitchell
6e4ffaf394 add Redis support 2016-06-17 14:48:51 -07:00
Kenneth Reitz
7d89221325 Merge pull request #65 from ZuluPro/patch-1
Added SpatiaLite in README.rst
2016-06-05 23:29:02 -07:00
Anthony Monthe
b03cff2466 Added SpatiaLite in README.rst
After PR #22, there was no README update
2016-06-05 17:49:35 +01:00
Kenneth Reitz
96638f1e0e v0.4.1 2016-04-06 15:35:26 -04:00
Kenneth Reitz
d45bb6d82d Merge pull request #64 from TooAngel/master
Enable CA providing for MySQL URIs
2016-04-06 15:34:03 -04: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
700924a986 Merge pull request #63 from eduardoklosowski/master
fix parenthesis in readme
2016-02-10 12:30:39 -05:00
Eduardo Klosowski
584623b6f9 fix parenthesis in readme 2016-02-10 10:57:35 -02:00
Kenneth Reitz
1422f191f8 oxford comma 2016-02-03 18:39:53 -05:00
Kenneth Reitz
24c9152e51 trove classifiers 2016-02-03 18:35:06 -05:00
Kenneth Reitz
0015f93bde upadated setup.py description 2016-02-03 18:34:29 -05:00
Kenneth Reitz
5a47549247 v0.4.0 2016-02-03 18:32:24 -05:00
Kenneth Reitz
6e87d67ba8 update readme 2016-02-02 19:20:44 -05:00
Kenneth Reitz
a40e4c29e8 update readme 2016-02-02 19:19:28 -05: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
Kenneth Reitz
063ff555dd Merge pull request #51 from peterfarrell/feature_conn_max_age
Added support for CONN_MAX_AGE for Django 1.6+
2016-02-01 15:57:36 -05:00
Arthur Skowronek
c12fa956fb Handle search path config in connect url for postgres 2015-11-11 18:47:21 +01:00
Arthur Skowronek
57b4d4e6c0 Add tox config to ease testing against multiple Python versions 2015-11-11 18:46:37 +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
da2844ca9d Added tests for CONN_MAX_AGE 2015-05-11 00:40:13 -05:00
Peter J. Farrell
6af46b9672 Added doco for conn_max_age 2015-05-11 00:35:47 -05:00
Peter J. Farrell
0dd4d2a0dd Add in optional support for CONN_MAX_AGE 2015-05-11 00:29:47 -05:00
Kenneth Reitz
585ce0fa35 Merge pull request #44 from kevgathuku/patch-1
Update README.rst. Import library first
2015-04-19 14:25:57 -04:00
Tomasz Wysocki
de8475f237 Support special characters in user, password and name fields. 2014-12-31 17:42:42 +01:00
Kevin Ndung'u
21dc45a071 Update README.rst
Mention that the library should be imported first before usage
2014-12-12 12:58:37 +03:00
Sławek Ehlert
10a7b4c7eb add oracle support 2014-10-24 21:05:40 +02:00
Kenneth Reitz
86f0e30b5b Merge pull request #29 from dbrgn/master
Added support for percent-encoded Postgres paths.
2014-10-12 11:01:36 -04: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
Danilo Bargen
b2756e79d3 Fixed test_cleardb_parsing test 2014-08-26 22:08:11 +02:00