From 38999f7e00c15b27c8200e799d7f0f3e9af607bb Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Thu, 13 Oct 2011 19:39:46 +0000 Subject: [PATCH] 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 --- django/core/serializers/base.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/django/core/serializers/base.py b/django/core/serializers/base.py index ffc869ca01..c7e62265cf 100644 --- a/django/core/serializers/base.py +++ b/django/core/serializers/base.py @@ -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.