From 6bcd2a6425421a080f2e02cd9c569ba9ad223121 Mon Sep 17 00:00:00 2001 From: jlaine Date: Mon, 11 Apr 2011 11:23:19 +0000 Subject: [PATCH] add missing imports git-svn-id: https://svn.bolloretelecom.eu/opensource/django-ldapdb/trunk@1031 e071eeec-0327-468d-9b6a-08194a12b294 --- ldapdb/models/base.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. """ -- 2.30.2