  def _get_reverse_relationships(opts):
      """
      Returns an `OrderedDict` of field names to `RelationInfo`.
      """
      reverse_relations = OrderedDict()
      for relation in opts.get_all_related_objects():
          accessor_name = relation.get_accessor_name()
          related = getattr(relation, 'related_model', relation.model)
 
</s> remove             related=relation.model,
 </s> add             related=related, </s> remove             related=relation.model,
 </s> add             related=related,
    # Note that we have a hack here to handle internal API differences for
    # this internal API across Django 1.7 -> Django 1.8.
    # See: https://code.djangoproject.com/ticket/24208

  def _get_reverse_relationships(opts):
      """
      Returns an `OrderedDict` of field names to `RelationInfo`.
      """
    # Note that we have a hack here to handle internal API differences for
    # this internal API across Django 1.7 -> Django 1.8.
    # See: https://code.djangoproject.com/ticket/24208

      reverse_relations = OrderedDict()
      for relation in opts.get_all_related_objects():
          accessor_name = relation.get_accessor_name()
          related = getattr(relation, 'related_model', relation.model)
keep keep keep add keep keep keep keep
 Work around meta API differences 
rest_framework/utils/model_meta.py