  ])
  class TestHyperlinkedRelatedField(APISimpleTestCase):
      def setUp(self):
          self.field = serializers.HyperlinkedRelatedField(
              view_name='example',
              lookup_field='name',
              lookup_url_kwarg='name',
              queryset=self.queryset,
          )
 
</s> remove             view_name='example', read_only=True)
 </s> add             view_name='example',
            lookup_field='name',
            lookup_url_kwarg='name',
            queryset=self.queryset,
        )
        self.queryset = MockQueryset([
            MockObject(pk=1, name='foobar'),
            MockObject(pk=2, name='baz qux'),
        ])
  ])
  class TestHyperlinkedRelatedField(APISimpleTestCase):
      def setUp(self):
        self.queryset = MockQueryset([
            MockObject(pk=1, name='foobar'),
            MockObject(pk=2, name='baz qux'),
        ])
          self.field = serializers.HyperlinkedRelatedField(
              view_name='example',
              lookup_field='name',
              lookup_url_kwarg='name',
              queryset=self.queryset,
          )
keep keep add keep keep keep keep keep keep
 add URL path unquote to HyperlinkedRelatedField.to_internal_value 
tests/test_relations.py