我们从Python开源项目中,提取了以下1个代码示例,用于说明如何使用rest_framework.serializers.URLField()。
def test_should_url_convert_string(): assert_conversion(serializers.URLField, graphene.String)