Ticket #1939: inline_multiple_foreign2.diff
File inline_multiple_foreign2.diff, 665 bytes (added by , 17 years ago) |
---|
-
main.py
old new 202 202 bound_field_sets = [field_set.bind(context['form'], original, AdminBoundFieldSet) for field_set in field_sets] 203 203 first_form_field_id = bound_field_sets[0].bound_field_lines[0].bound_fields[0].form_fields[0].get_id(); 204 204 ordered_objects = opts.get_ordered_objects() 205 inline_related_objects = opts.get_followed_related_objects(manipulator.follow)205 inline_related_objects = [o for o in opts.get_followed_related_objects(manipulator.follow) if o.edit_inline] 206 206 extra_context = { 207 207 'add': add, 208 208 'change': change,