mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-07 13:54:47 +03:00
Code style
This commit is contained in:
parent
5f02a0b0da
commit
14531fd727
|
@ -265,7 +265,7 @@ class SchemaGenerator(object):
|
|||
|
||||
if serializer_class is None and hasattr(view, 'get_serializer_class'):
|
||||
serializer_class = view.get_serializer_class()
|
||||
|
||||
|
||||
if serializer_class is None:
|
||||
return []
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user