Skip to content

Commit 67933d6

Browse files
committed
Merge pull request #2503 from tail/missing-space-error-string
Fixed missing whitespace in error string.
2 parents 0a805d9 + 4b65e9e commit 67933d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rest_framework/serializers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def is_valid(self, raise_exception=False):
177177
)
178178

179179
assert hasattr(self, 'initial_data'), (
180-
'Cannot call `.is_valid()` as no `data=` keyword argument was'
180+
'Cannot call `.is_valid()` as no `data=` keyword argument was '
181181
'passed when instantiating the serializer instance.'
182182
)
183183

0 commit comments

Comments
 (0)