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

Function validation_error

tests/test_htmlrenderer.py:40–41  ·  view source on GitHub ↗
(request)

Source from the content-addressed store, hash-verified

38@api_view(('GET',))
39@renderer_classes((TemplateHTMLRenderer,))
40def validation_error(request):
41 raise ValidationError('error')
42
43
44urlpatterns = [

Callers

nothing calls this directly

Calls 1

ValidationErrorClass · 0.90

Tested by

no test coverage detected