From: jlaine Date: Mon, 11 Apr 2011 15:46:30 +0000 (+0000) Subject: remove _collect_sub_objects() hack X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=0a8f68c0f405160561f545a52dd34158e10843d6;p=matthijs%2Fupstream%2Fdjango-ldapdb.git remove _collect_sub_objects() hack git-svn-id: https://svn.bolloretelecom.eu/opensource/django-ldapdb/trunk@1048 e071eeec-0327-468d-9b6a-08194a12b294 --- diff --git a/ldapdb/models/base.py b/ldapdb/models/base.py index ddf21a2..13ceea1 100644 --- a/ldapdb/models/base.py +++ b/ldapdb/models/base.py @@ -56,14 +56,6 @@ class Model(django.db.models.base.Model): super(Model, self).__init__(*args, **kwargs) self.saved_pk = self.pk - def _collect_sub_objects(self, seen_objs, parent=None, nullable=False): - """ - This private API seems to be called by the admin interface in django 1.2 - """ - pk_val = self._get_pk_val() - seen_objs.add(self.__class__, pk_val, self, - type(parent), parent, nullable) - def build_rdn(self): """ Build the Relative Distinguished Name for this entry.