Commit 38999f7e authored by Aymeric Augustin's avatar Aymeric Augustin
Browse files

Fixed #16923 -- Removed unused method in the serialization code.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@16979 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 06d9b82a
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -57,12 +57,6 @@ class Serializer(object):
        self.end_serialization()
        return self.getvalue()

    def get_string_value(self, obj, field):
        """
        Convert a field's value to a string.
        """
        return smart_unicode(field.value_to_string(obj))

    def start_serialization(self):
        """
        Called when serializing of the queryset starts.