Commit 4b65e9e4 by Jason Yan

Fixed missing whitespace in error string.

parent 0a805d97
...@@ -177,7 +177,7 @@ class BaseSerializer(Field): ...@@ -177,7 +177,7 @@ class BaseSerializer(Field):
) )
assert hasattr(self, 'initial_data'), ( assert hasattr(self, 'initial_data'), (
'Cannot call `.is_valid()` as no `data=` keyword argument was' 'Cannot call `.is_valid()` as no `data=` keyword argument was '
'passed when instantiating the serializer instance.' 'passed when instantiating the serializer instance.'
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment