X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fdjango-ldapdb.git;a=blobdiff_plain;f=ldapdb%2Fbackends%2Fldap%2Fbase.py;h=062f5c0ff0635207f33d9c982715dae4ea71e683;hp=1edb07de59996ddf51d9eae542e37846d975a0af;hb=2d6433b98c090eae864447b1985465a3ce15805e;hpb=6addd55ab153402a7e5f39c71e3266b8eab54de5 diff --git a/ldapdb/backends/ldap/base.py b/ldapdb/backends/ldap/base.py index 1edb07d..062f5c0 100644 --- a/ldapdb/backends/ldap/base.py +++ b/ldapdb/backends/ldap/base.py @@ -45,6 +45,8 @@ class DatabaseFeatures(BaseDatabaseFeatures): self.connection = connection class DatabaseOperations(BaseDatabaseOperations): + compiler_module = "ldapdb.backends.ldap.compiler" + def quote_name(self, name): return name @@ -67,6 +69,9 @@ class DatabaseWrapper(BaseDatabaseWrapper): self.settings_dict['PASSWORD']) return DatabaseCursor(self.connection) + def _rollback(self): + pass + def add_s(self, dn, modlist): cursor = self._cursor() return cursor.connection.add_s(dn.encode(self.charset), modlist)