Commit graph

26 commits

Author SHA1 Message Date
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
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
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
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
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
Danilo Bargen
b2756e79d3 Fixed test_cleardb_parsing test 2014-08-26 22:08:11 +02:00
Sander van de Graaf
56fbae1548 added support for python mysql-connector 2014-03-28 11:50:25 +01:00
Jeff Paine
f07b16b35c Fix cleardb test
Although I find `assert url['PORT'] is None` more pythonic, PORT is set
in the main script via `'PORT': url.port or '',` so, we are obliged to
use checking for '' in our tests.
2014-03-03 02:07:39 -05: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
Dmitry Kozhedubov
fb302bc609 Ability to set different engine 2013-12-15 20:59:18 +04:00
carlio
4cb5f889bf Fixing test to actually use the result of the parse 2013-01-05 11:22:16 +01:00
carlio
0a7273be5f Adding in tests to ensure sqlite in-memory databases work 2013-01-05 11:19:54 +01:00
Kenneth Reitz
1c33ee47cf test environment variables 2012-06-19 11:23:05 -04:00
Kenneth Reitz
435997276f test for cleardb 2012-06-19 11:21:15 -04:00
Kenneth Reitz
f39a80e12a postgres test 2012-06-19 11:09:00 -04:00
Kenneth Reitz
73f3209707 tests 2012-06-19 11:03:52 -04:00