MCPcopy Index your code
hub / github.com/encode/django-rest-framework / ip_address_validators

Function ip_address_validators

rest_framework/compat.py:159–160  ·  view source on GitHub ↗
(protocol, unpack_ipv4)

Source from the content-addressed store, hash-verified

157 ip_address_validators as _ip_address_validators
158
159 def ip_address_validators(protocol, unpack_ipv4):
160 return _ip_address_validators(protocol, unpack_ipv4)[0]
161
162 # Django < 5.1: create a compatibility shim for Q.referenced_base_fields
163 # https://github.com/django/django/blob/5.1a1/django/db/models/query_utils.py#L179

Callers 1

__init__Method · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected