git-svn-id: https://svn.bolloretelecom.eu/opensource/django-ldapdb/trunk@966
e071eeec-0327-468d-9b6a-
08194a12b294
self.saved_pk = self.pk
signals.post_save.send(sender=self.__class__, instance=self, created=(not record_exists))
- def validate_unique(self, exclude=None):
- #Â FIXME: we are bypassing the unicity checks, as they break
- # the admin interface
- pass
-
@classmethod
def scoped(base_class, base_dn):
"""
def get_compiler(self, using=None, connection=None):
return Compiler(self, ldapdb.connection, using)
+ def has_results(self, using):
+ return self.get_count() != 0
+
def results_iter(self):
"For django 1.1 compatibility"
return self.get_compiler().results_iter()