mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-28 00:49:49 +03:00
fix linting issue
This commit is contained in:
parent
084b4d5351
commit
36f423870b
|
@ -189,7 +189,7 @@ class AutoSchema(ViewInspector):
|
||||||
raise Exception(
|
raise Exception(
|
||||||
'"{}" is an invalid class name for schema generation. '
|
'"{}" is an invalid class name for schema generation. '
|
||||||
'Serializer\'s class name should be unique and explicit. e.g. "ItemSerializer"'
|
'Serializer\'s class name should be unique and explicit. e.g. "ItemSerializer"'
|
||||||
.format(serializer.__class__.__name__)
|
.format(serializer.__class__.__name__)
|
||||||
)
|
)
|
||||||
|
|
||||||
return component_name
|
return component_name
|
||||||
|
|
Loading…
Reference in New Issue
Block a user