Ticket #16923: 16923.patch
File 16923.patch, 586 bytes (added by , 13 years ago) |
---|
-
django/core/serializers/base.py
57 57 self.end_serialization() 58 58 return self.getvalue() 59 59 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 66 60 def start_serialization(self): 67 61 """ 68 62 Called when serializing of the queryset starts.