62 Commits

Author SHA1 Message Date
kennethreitz ce83a4d49c Merge pull request #29 from j00bar/patch-1
Use psycopg2 attr to test connection usability
2018-01-02 10:03:30 -05:00
kennethreitz 774f70f35b Merge pull request #32 from jarshwah/master
Added compatability for Django >= 1.9
2017-01-25 14:03:02 -05:00
Josh Smeaton 716a8471ca Added compatability for Django >= 1.9 2017-01-25 11:49:03 +11:00
Joshua "jag" Ginsberg 4035603eb2 Use psycopg2 attr to test connection usability
Fixes #24
2016-03-11 13:53:31 -05:00
kennethreitz 38cb08ad45 Merge pull request #26 from Koed00/master
Update README.rst
2016-02-04 03:53:41 -05:00
Ilan Steemers 3fc4159f8a Update README.rst
Improved dj_database_url example
2015-05-21 16:00:27 +02:00
Kenneth Reitz ce6a10e9bb v0.3.0 v0.3.0 2014-08-29 10:53:49 -04:00
kennethreitz 324ab2dd53 Merge pull request #21 from Brant/master
support for django 1.6
2014-08-22 13:35:25 -04:00
Brant Steen bb434fcf80 Having problems with a deploy
increasing version number
2014-07-05 08:50:00 -04:00
Brant Steen 3fd4341d65 updating version 2014-06-28 15:16:44 -04:00
Brant Steen beea767be0 removing things that are part of django 2014-06-28 15:16:30 -04:00
Brant Steen 799b629a8a Django only supports 2.7 2014-06-28 12:50:40 -04:00
Brant Steen 3af9519232 bump version 2014-06-28 12:41:48 -04:00
Brant Steen eb97a1864b Allow auto-committing 2014-06-28 12:41:35 -04:00
Brant Steen 4f4f99dff3 Just following suit, as found in backends.postgresql_psycopg2.base 2014-06-24 15:37:36 -04:00
Brant Steen 554fe27ef9 version 2014-06-24 15:26:19 -04:00
Brant Steen 354d25fea7 Removing what appears to be legacy cursor stuff 2014-06-24 15:04:23 -04:00
Kenneth Reitz 5cb1ccedba Merge pull request #15 from Jonty/make_new_release
Time for a new release!
2013-07-04 15:09:38 -07:00
Jonty Wareing 88022f06bc Time for a new release!
There's been multiple fairly critical fixes applied, so bumping the
version number for a new release.
2013-07-03 11:51:10 +00:00
Kenneth Reitz 3f80bb7519 Merge pull request #14 from Jonty/fix_commit_rollback
Handle rollback/commit with failed connection
2013-07-02 13:22:21 -07:00
Kenneth Reitz 6584c344fd Merge pull request #13 from Jonty/master
Correctly invalidate connections on failure.
2013-07-02 13:20:24 -07:00
Jonty Wareing 5de1c82c31 Handle rollback/commit with failed connection
If a rollback or commit is attempted after the connection has failed
Django's BaseDatabaseWrapper does not know to check the validity of the
database connection and may fail due to the connection already being
closed. This is especially a problem when django is attempting to
automatically roll back transactions at the end of a request that has
already failed due to a database error and will result in the default
"Server Error" page being displayed as django cannot handle the error.
2013-07-02 19:30:29 +00:00
Jonty Wareing a156ba98e6 Correctly invalidate connections on failure
_cursor does not check if the connection is still valid, meaning that
once a connection has been marked as invalid it will attempt to get an
sqlalchemy cursor on a broken connection and throw an exception. This
commit causes the connection to be validated when using the cursor,
triggering a new connection to be fetched from the pool if the previous
one has been marked as dead.
2013-07-02 18:34:42 +00:00
Kenneth Reitz 046c0e51f2 Merge pull request #11 from whalesalad/master
Added some light explanation of the config options
2013-04-15 08:07:03 -07:00
Michael Whalen c0f90ffc04 Added some light explanation of config options to readme. 2013-04-15 16:31:50 +02:00
Kenneth Reitz 3efffe354c Merge pull request #10 from tclancy/master
Notes on Django version compatibility
2013-03-07 11:51:17 -08:00
Tom Clancy e8350eea15 notes about Django support 2013-03-07 14:48:45 -05:00
Kenneth Reitz c20e700432 Merge pull request #5 from carljm/dispose
Ensure test database connections are closed before dropping it.
2012-11-15 16:36:01 -08:00
Carl Meyer 2cd75849e6 Ensure test db conns are closed before dropping it. 2012-11-15 15:40:45 -07:00
Kenneth Reitz 2b0ae9e702 Update README.rst 2012-10-27 10:53:08 -05:00
Kenneth Reitz 6d80d1e6a5 v0.2.3 v0.2.3 2012-10-27 10:44:37 -05:00
Kenneth Reitz 558e980a79 Merge pull request #4 from nigma/master
Invalidate broken connections
2012-10-27 08:42:51 -07:00
Filip Wasilewski 6ae41209dd Invalidate broken connections 2012-10-24 23:52:14 +02:00
Kenneth Reitz a8c116476f Merge pull request #2 from seanbrant/master
Adds note to README about south usage
2012-10-01 10:22:08 -07:00
Sean Brant 58cf243b35 Adds note to README about south usage. 2012-09-28 12:48:01 -05:00
Kenneth Reitz c88a233979 cleanup v0.2.2 2012-09-27 20:26:42 -04:00
Kenneth Reitz f04ad1ea71 v0.2.1 v0.2.1 2012-09-27 20:23:53 -04:00
Kenneth Reitz b388e538be v0.2.0 v0.2.0 2012-09-27 20:20:57 -04:00
Kenneth Reitz 9bb889d82b __init__ v0.1.2 2012-09-27 20:18:08 -04:00
Kenneth Reitz b46f524a4a v0.1.1 2012-09-27 20:05:59 -04:00
Kenneth Reitz 0fd7bd0e4a DATABASE_POOL_ARGS
Closes #1
v0.1.1
2012-09-27 20:02:34 -04:00
Kenneth Reitz ab15daf0b8 grumble 2012-09-27 19:41:49 -04:00
Kenneth Reitz a9d7a46305 not sure of 3.0 2012-09-27 19:39:25 -04:00
Kenneth Reitz 07177071ce try again? 2012-09-27 19:38:43 -04:00
Kenneth Reitz b9f55602a9 manifest 2012-09-27 19:30:14 -04:00
Kenneth Reitz f6bbc5b490 lawyer up 2012-09-27 19:29:45 -04:00
Kenneth Reitz 6f0f72a819 readme 2012-09-27 19:28:52 -04:00
Kenneth Reitz 81c3362e67 whitespace 2012-09-27 19:28:28 -04:00
Kenneth Reitz 6275f352ef caution 2012-09-27 19:26:28 -04:00
Kenneth Reitz 1fefdb8e90 experimental 2012-09-27 19:25:19 -04:00