mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-04 12:30:11 +03:00
parent
687e8fe86f
commit
6f0bbe1438
|
@ -207,7 +207,7 @@ class AutoSchema(ViewInspector):
|
|||
return formatting.dedent(smart_text(method_docstring))
|
||||
|
||||
description = view.get_view_description()
|
||||
lines = [line.strip() for line in description.splitlines()]
|
||||
lines = [line for line in description.splitlines()]
|
||||
current_section = ''
|
||||
sections = {'': ''}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user