disable transactions
authorjlaine <jlaine@e071eeec-0327-468d-9b6a-08194a12b294>
Mon, 11 Apr 2011 11:23:39 +0000 (11:23 +0000)
committerjlaine <jlaine@e071eeec-0327-468d-9b6a-08194a12b294>
Mon, 11 Apr 2011 11:23:39 +0000 (11:23 +0000)
git-svn-id: https://svn.bolloretelecom.eu/opensource/django-ldapdb/trunk@1032 e071eeec-0327-468d-9b6a-08194a12b294

ldapdb/__init__.py

index cfa1dd3bfa7af423d0271df12db3a78c0867810a..521188cea9a0abe183e1b4bb7e547985c86ea701 100644 (file)
@@ -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