mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-25 23:50:01 +03:00
remove trailing comma that made assertion message a tuple (instead of a string).
This commit is contained in:
parent
7cf2efc16e
commit
6dc794974a
|
@ -1137,7 +1137,7 @@ class ModelSerializer(Serializer):
|
||||||
"and is now disallowed. Add an explicit fields = '__all__' to the "
|
"and is now disallowed. Add an explicit fields = '__all__' to the "
|
||||||
"{serializer_class} serializer.".format(
|
"{serializer_class} serializer.".format(
|
||||||
serializer_class=self.__class__.__name__
|
serializer_class=self.__class__.__name__
|
||||||
),
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
if fields == ALL_FIELDS:
|
if fields == ALL_FIELDS:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user