From: jlaine Date: Mon, 11 Apr 2011 11:23:19 +0000 (+0000) Subject: add missing imports X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fdjango-ldapdb.git;a=commitdiff_plain;h=6bcd2a6425421a080f2e02cd9c569ba9ad223121 add missing imports git-svn-id: https://svn.bolloretelecom.eu/opensource/django-ldapdb/trunk@1031 e071eeec-0327-468d-9b6a-08194a12b294 --- diff --git a/ldapdb/models/base.py b/ldapdb/models/base.py index cd407a2..0fc77ea 100644 --- a/ldapdb/models/base.py +++ b/ldapdb/models/base.py @@ -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. """