      Ensure that custom lookup fields are correctly routed.
      """
      def setUp(self):
          RouterTestModel.objects.create(uuid='123', text='foo bar')
  
      def test_custom_lookup_field_route(self):
          detail_route = notes_router.urls[-1]
          detail_url_pattern = detail_route.regex.pattern
          assert '<uuid>' in detail_url_pattern
 
</s> remove         assert response.data == [{"url": "http://testserver/example/notes/123/", "uuid": "123", "text": "foo bar"}]
 </s> add         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"},
        ] </s> remove             view_name='example', read_only=True)
 </s> add             view_name='example',
            lookup_field='name',
            lookup_url_kwarg='name',
            queryset=self.queryset,
        )
        RouterTestModel.objects.create(uuid='a b', text='baz qux')
      Ensure that custom lookup fields are correctly routed.
      """
      def setUp(self):
          RouterTestModel.objects.create(uuid='123', text='foo bar')
        RouterTestModel.objects.create(uuid='a b', text='baz qux')
  
      def test_custom_lookup_field_route(self):
          detail_route = notes_router.urls[-1]
          detail_url_pattern = detail_route.regex.pattern
          assert '<uuid>' in detail_url_pattern
keep keep keep add keep keep keep keep keep
 add URL path unquote to HyperlinkedRelatedField.to_internal_value 
tests/test_routers.py