          assert '<uuid>' in detail_url_pattern
  
      def test_retrieve_lookup_field_list_view(self):
          response = self.client.get('/example/notes/')
          assert response.data == [{"url": "http://testserver/example/notes/123/", "uuid": "123", "text": "foo bar"}]
  
      def test_retrieve_lookup_field_detail_view(self):
          response = self.client.get('/example/notes/123/')
          assert response.data == {"url": "http://testserver/example/notes/123/", "uuid": "123", "text": "foo bar"}
  
 
</s> remove             view_name='example', read_only=True)
 </s> add             view_name='example',
            lookup_field='name',
            lookup_url_kwarg='name',
            queryset=self.queryset,
        )
        assert response.data == [
            {"url": "http://testserver/example/notes/123/", "uuid": "123", "text": "foo bar"},
            {"url": "http://testserver/example/notes/a%20b/", "uuid": "a b", "text": "baz qux"},
        ]
          assert '<uuid>' in detail_url_pattern
  
      def test_retrieve_lookup_field_list_view(self):
          response = self.client.get('/example/notes/')
        assert response.data == [
            {"url": "http://testserver/example/notes/123/", "uuid": "123", "text": "foo bar"},
            {"url": "http://testserver/example/notes/a%20b/", "uuid": "a b", "text": "baz qux"},
        ]
  
      def test_retrieve_lookup_field_detail_view(self):
          response = self.client.get('/example/notes/123/')
          assert response.data == {"url": "http://testserver/example/notes/123/", "uuid": "123", "text": "foo bar"}
  
keep keep keep keep replace keep keep keep keep keep
 add URL path unquote to HyperlinkedRelatedField.to_internal_value 
tests/test_routers.py