Skip to content

Commit

Permalink
Fixed #16923 -- Removed unused method in the serialization code.
Browse files Browse the repository at this point in the history
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16979 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
aaugustin committed Oct 13, 2011
1 parent 06d9b82 commit 38999f7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions django/core/serializers/base.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -57,12 +57,6 @@ def serialize(self, queryset, **options):
self.end_serialization() self.end_serialization()
return self.getvalue() 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): def start_serialization(self):
""" """
Called when serializing of the queryset starts. Called when serializing of the queryset starts.
Expand Down

0 comments on commit 38999f7

Please sign in to comment.