remove _collect_sub_objects() hack
authorjlaine <jlaine@e071eeec-0327-468d-9b6a-08194a12b294>
Mon, 11 Apr 2011 15:46:30 +0000 (15:46 +0000)
committerjlaine <jlaine@e071eeec-0327-468d-9b6a-08194a12b294>
Mon, 11 Apr 2011 15:46:30 +0000 (15:46 +0000)
git-svn-id: https://svn.bolloretelecom.eu/opensource/django-ldapdb/trunk@1048 e071eeec-0327-468d-9b6a-08194a12b294

ldapdb/models/base.py

index ddf21a2aebff8e66230db55ec8d08ccaa0f6b679..13ceea1a75f94471e8621426f497e8518d7e6c1e 100644 (file)
@@ -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.