Ticket #2434: manipulator_editinline_follow.patch
File manipulator_editinline_follow.patch, 734 bytes (added by , 18 years ago) |
---|
-
django/forms/__init__.py
259 259 for i, instance in enumerate(orig_list): 260 260 collection = {'original': instance} 261 261 for f in self.rel_obj.editable_fields(): 262 if not self.parent_manipulator.follow.get(var_name, {}).get(f.name, True): 263 continue 262 264 for field_name in f.get_manipulator_field_names(''): 263 265 full_field_name = '%s.%d.%s' % (var_name, i, field_name) 264 266 field = self.parent_manipulator[full_field_name]