Skip to content

Commit da1c6d4

Browse files
linchiwei123rpkilby
authored andcommitted
Fix indent (#6825)
1 parent 044252a commit da1c6d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/api-guide/serializers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -966,7 +966,7 @@ The following class is an example of a generic serializer that can handle coerci
966966
into primitive representations.
967967
"""
968968
def to_representation(self, obj):
969-
output = {}
969+
output = {}
970970
for attribute_name in dir(obj):
971971
attribute = getattr(obj, attribute_name)
972972
if attribute_name.startswith('_'):
@@ -992,7 +992,7 @@ The following class is an example of a generic serializer that can handle coerci
992992
else:
993993
# Force anything else to its string representation.
994994
output[attribute_name] = str(attribute)
995-
return output
995+
return output
996996

997997
---
998998

0 commit comments

Comments
 (0)