Commit graph

109 commits

Author SHA1 Message Date
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
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
Kenneth Reitz
624fc49905 Merge pull request #40 from frewsxcv/patch-1
Enable automated testing with Python 3.4
2014-06-23 12:09:54 -07:00
Corey Farwell
1b212a0b05 Enable automated testing with Python 3.4 2014-06-21 09:16:48 -07:00
Kenneth Reitz
7465e9fc10 Merge pull request #37 from BHSPitMonkey/patch-1
Add URL schema examples to README
2014-04-18 15:24:04 -04:00
Stephen Eisenhauer
4a972d8067 Add URL schema examples to README
Also reordered some of the sections for a more logical flow
2014-04-18 01:35:07 -05:00
Kenneth Reitz
c9c933f1bd v0.3.0 2014-03-10 09:15:53 -04:00
Kenneth Reitz
b3fbbc2f90 2014 2014-03-10 09:15:48 -04:00
Kenneth Reitz
37e89aeee0 Merge pull request #35 from JeffPaine/ignore
Remove .pyc file, add .gitignore
2014-03-10 09:05:18 -04:00
Jeff Paine
b5528dd8f0 Add .gitignore file 2014-03-04 09:57:21 -05:00
Jeff Paine
7b184c7f3d Remove .pyc file 2014-03-04 09:57:04 -05:00
Kenneth Reitz
ebb012f3af Merge pull request #31 from JeffPaine/setup
Add trove classifiers to setup.py for python versions
2014-03-03 13:09:19 -05:00
Kenneth Reitz
d734741df1 Merge pull request #32 from JeffPaine/wheel
Add setup.cfg for wheel support
2014-03-03 13:09:03 -05:00
Kenneth Reitz
2e9b62dcf3 Merge pull request #33 from JeffPaine/test
Fix cleardb test
2014-03-03 13:08:39 -05:00
Kenneth Reitz
f7244bf00b Merge pull request #34 from JeffPaine/travis
Remove Travis CI unsupported python version
2014-03-03 13:08:08 -05:00
Jeff Paine
f75e487dc1 Remove travis-ci unsupported python version
Per docs http://docs.travis-ci.com/user/languages/python/ "Travis CI support Python versions 2.6, 2.7, 3.2 and 3.3"
2014-03-03 02:15:08 -05: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
Jeff Paine
61ba55c3cd Add setup.cfg for wheel support 2014-03-03 01:56:28 -05:00
Jeff Paine
e44d3b2072 Add trove classifiers for python versions 2014-03-03 01:41:24 -05:00
Kenneth Reitz
86984deace Merge pull request #25 from waveaccounting/master
Add MySQL (GIS) support
2014-01-08 12:19:59 -08:00
Michael Warkentin
f534e5b435 Replace Python 3.1 with Python 3.3 2014-01-08 15:18:46 -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
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
Kenneth Reitz
de1545cdf8 v0.2.2 2013-07-17 16:39:48 -04:00
Kenneth Reitz
19e8bd30b9 Merge pull request #21 from carlio/hotfix/issue-20
Fix for issue #20
2013-04-15 11:50:11 -07: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