Ticket #11357: admindocs-m2m.diff
File admindocs-m2m.diff, 641 bytes (added by , 15 years ago) |
---|
-
django/contrib/admindocs/views.py
233 233 }) 234 234 235 235 # Gather related objects 236 for rel in opts.get_all_related_objects() :236 for rel in opts.get_all_related_objects() + opts.get_all_related_many_to_many_objects(): 237 237 verbose = _("related `%(app_label)s.%(object_name)s` objects") % {'app_label': rel.opts.app_label, 'object_name': rel.opts.object_name} 238 238 accessor = rel.get_accessor_name() 239 239 fields.append({