mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-02 20:54:42 +03:00
Fixed missing whitespace in error string.
This commit is contained in:
parent
0a805d979d
commit
4b65e9e42b
|
@ -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