mirror of
https://github.com/django/django.git
synced 2025-04-01 12:06:43 +00:00
This doesn't deal with classes that define both __unicode__ and __str__; the definition of __str__ should be removed first. It doesn't guarantee that __str__ will return a str (rather than bytes) under Python 3 either.