Ticket #16923: 16923.patch

File 16923.patch, 586 bytes (added by Aymeric Augustin, 13 years ago)
  • django/core/serializers/base.py

     
    5757        self.end_serialization()
    5858        return self.getvalue()
    5959
    60     def get_string_value(self, obj, field):
    61         """
    62         Convert a field's value to a string.
    63         """
    64         return smart_unicode(field.value_to_string(obj))
    65 
    6660    def start_serialization(self):
    6761        """
    6862        Called when serializing of the queryset starts.
Back to Top