Commit 5c0a2b79 by James Beith

Remove converting a string in to a string

The `display_value` method returns a text type.
parent eaf61449
......@@ -148,7 +148,7 @@ class RelatedField(Field):
return OrderedDict([
(
six.text_type(self.to_representation(item)),
six.text_type(self.display_value(item))
self.display_value(item)
)
for item in queryset
])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment