register LDAP compiler
[matthijs/upstream/django-ldapdb.git] / ldapdb / backends / ldap / compiler.py
index a3cde180ba0d3649ac6ffa9e6992168e35219ea7..69417a5ef6cbd0c5e32423e93cc5732adb77bbca 100644 (file)
@@ -32,6 +32,8 @@
 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #
 
+from django.db.models.sql import compiler
+
 import ldap
 
 class SQLCompiler(object):
@@ -107,3 +109,18 @@ class SQLCompiler(object):
             yield row
             pos += 1
 
+class SQLInsertCompiler(compiler.SQLInsertCompiler, SQLCompiler):
+    pass
+
+class SQLDeleteCompiler(compiler.SQLDeleteCompiler, SQLCompiler):
+    pass
+
+class SQLUpdateCompiler(compiler.SQLUpdateCompiler, SQLCompiler):
+    pass
+
+class SQLAggregateCompiler(compiler.SQLAggregateCompiler, SQLCompiler):
+    pass
+
+class SQLDateCompiler(compiler.SQLDateCompiler, SQLCompiler):
+    pass
+