mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-01 02:50:06 +03:00
Removed trailing whitespace from assertion message
This commit is contained in:
parent
c95cb59657
commit
2497b97091
|
@ -164,8 +164,8 @@ class ViewInspector(object):
|
|||
def view(self):
|
||||
"""View property."""
|
||||
assert self._view is not None, (
|
||||
"Schema generation REQUIRES a view instance. (Hint: you accessed `schema` from "
|
||||
"the view class rather than an instance.) "
|
||||
"Schema generation REQUIRES a view instance. (Hint: you accessed "
|
||||
"`schema` from the view class rather than an instance.)"
|
||||
)
|
||||
return self._view
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user