# meta-data
base_dn = None
+ search_scope = ldap.SCOPE_SUBTREE
object_classes = ['top']
def __init__(self, *args, **kwargs):
super(Model, self).__init__(*args, **kwargs)
self.saved_pk = self.pk
- def _collect_sub_objects(self, collector):
+ 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
"""
- pass
+ pk_val = self._get_pk_val()
+ seen_objs.add(self.__class__, pk_val, self,
+ type(parent), parent, nullable)
def build_rdn(self):
"""