From d9d9a8159c9d1c7d0af0f8e9906ac2f3ba8ed2d4 Mon Sep 17 00:00:00 2001 From: Carlton Gibson Date: Thu, 14 Dec 2017 11:11:26 +0100 Subject: [PATCH] Correct docstring --- rest_framework/schemas/inspectors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest_framework/schemas/inspectors.py b/rest_framework/schemas/inspectors.py index 8a811473c..b2a5320bd 100644 --- a/rest_framework/schemas/inspectors.py +++ b/rest_framework/schemas/inspectors.py @@ -460,7 +460,7 @@ class ManualSchema(ViewInspector): class DefaultSchema(object): - """Allows overriding AutoSchema in with DEFAULT_SCHEMA_CLASS setting""" + """Allows overriding AutoSchema using DEFAULT_SCHEMA_CLASS setting""" def __get__(self, instance, owner): inspector_class = api_settings.DEFAULT_SCHEMA_CLASS assert issubclass(inspector_class, ViewInspector), "DEFAULT_SCHEMA_CLASS must be set to a ViewInspector (usually an AutoSchema) subclass"