add missing imports
[matthijs/upstream/django-ldapdb.git] / ldapdb / models / base.py
index cd407a271192788178750a0dfad1542db00e3819..0fc77ea8eded502b5a7a980ee933907337f3da93 100644 (file)
@@ -36,6 +36,7 @@ import ldap
 import logging
 
 import django.db.models
+from django.db import connections, router
 from django.db.models import signals
 
 import ldapdb
@@ -102,7 +103,7 @@ class Model(django.db.models.base.Model):
         return "%s,%s" % (self.build_rdn(), self.base_dn)
         raise Exception("Could not build Distinguished Name")
 
-    def delete(self):
+    def delete(self, using=None):
         """
         Delete this entry.
         """