mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-01 19:10:12 +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):
|
def view(self):
|
||||||
"""View property."""
|
"""View property."""
|
||||||
assert self._view is not None, (
|
assert self._view is not None, (
|
||||||
"Schema generation REQUIRES a view instance. (Hint: you accessed `schema` from "
|
"Schema generation REQUIRES a view instance. (Hint: you accessed "
|
||||||
"the view class rather than an instance.) "
|
"`schema` from the view class rather than an instance.)"
|
||||||
)
|
)
|
||||||
return self._view
|
return self._view
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user