Ticket #3996: 3996.diff
File 3996.diff, 472 bytes (added by , 18 years ago) |
---|
-
django/db/models/base.py
86 86 return '<%s: %s>' % (self.__class__.__name__, self) 87 87 88 88 def __str__(self): 89 if hasattr(self, '__unicode__'): 90 return unicode(self).encode('utf-8') 89 91 return '%s object' % self.__class__.__name__ 90 92 91 93 def __eq__(self, other):