Python rest_framework.serializers 模块,URLField() 实例源码

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

项目:graphene-django    作者:graphql-python    | 项目源码 | 文件源码
def test_should_url_convert_string():
    assert_conversion(serializers.URLField, graphene.String)