From: jlaine Date: Mon, 11 Apr 2011 11:23:39 +0000 (+0000) Subject: disable transactions X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=64e97c911098ea9471c23d41d78f789f3abf07bf;p=matthijs%2Fupstream%2Fdjango-ldapdb.git disable transactions git-svn-id: https://svn.bolloretelecom.eu/opensource/django-ldapdb/trunk@1032 e071eeec-0327-468d-9b6a-08194a12b294 --- diff --git a/ldapdb/__init__.py b/ldapdb/__init__.py index cfa1dd3..521188c 100644 --- a/ldapdb/__init__.py +++ b/ldapdb/__init__.py @@ -50,7 +50,8 @@ settings.DATABASES['ldap'] = { 'ENGINE': 'ldapdb.backends.ldap', 'NAME': settings.LDAPDB_SERVER_URI, 'USER': settings.LDAPDB_BIND_DN, - 'PASSWORD': settings.LDAPDB_BIND_PASSWORD} + 'PASSWORD': settings.LDAPDB_BIND_PASSWORD, + 'SUPPORTS_TRANSACTIONS': False} connection = db.connections['ldap'] # Add the LDAP router