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