mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-27 03:54:01 +03:00
Merge pull request #2503 from tail/missing-space-error-string
Fixed missing whitespace in error string.
This commit is contained in:
commit
67933d658e
|
@ -177,7 +177,7 @@ class BaseSerializer(Field):
|
|||
)
|
||||
|
||||
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.'
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user