fix and test deletion from admin interface
[matthijs/upstream/django-ldapdb.git] / ldapdb / models / base.py
index 9291c6b122656dc4b08e92db20dc30928d22bc28..41d00e8c684b3fa7483973a5478b888808cce290 100644 (file)
@@ -60,6 +60,12 @@ class Model(django.db.models.base.Model):
         super(Model, self).__init__(*args, **kwargs)
         self.saved_pk = self.pk
 
+    def _collect_sub_objects(self, collector):
+        """
+        This private API seems to be called by the admin interface in django 1.2
+        """
+        pass
+
     def build_rdn(self):
         """
         Build the Relative Distinguished Name for this entry.