Abstract
Please read the full documentation on pypi
Ed Crewe, ILRT at University of Bristol, February 2010
Packaged version of http://code.djangoproject.com/ticket/7732 by Taras Halturin django database backend that uses cx_Oracle session pooling for connections
Original Code Modifications
Pruned original ticket's base.py to just hold the pooling relevant code. Using the standard Oracle connection for the rest of the database classes, ie. operations, client and introspection.
Tested with django 1.1 and 1.2, deals with the differences eg. to settings handling.
Extra features
* Added the pooling and logging parameters to the settings.
* The connector uses the standard python logging model and caters for logging full details of queries, either to a file log or appending them to the bottom of the screen if the log level is DEBUG.
* Added an option for running against existing (older) Oracle databases, ie those which may not have unicode for character fields.
* Option also allows running the tests against an existing database so that running tests doesnt require database creation (oracle sys dba) rights.
* Added a modification to the cursor to not parse parameters if not required.
Translated title of the contribution | django-oraclepool |
---|---|
Original language | English |
Publisher | python.org |
Edition | 0.5 |
Publication status | Published - 19 Feb 2010 |
Bibliographical note
Medium: open sourceOther identifier: python egg
Other: django database backend that uses cx_Oracle session pooling for connections