Ticket #4687: unicode.txt.patch
File unicode.txt.patch, 627 bytes (added by , 17 years ago) |
---|
-
unicode.txt
231 231 course. However, Django's ``Model`` base class automatically provides you with 232 232 a ``__str__()`` method that calls your ``__unicode__()`` method and then 233 233 encodes the result correctly into UTF-8. So you would normally only create a 234 ``__unicode__()`` method and let Django handle the co ercion to a bytestring234 ``__unicode__()`` method and let Django handle the correction to a bytestring 235 235 when required. 236 236 237 237 Taking care in ``get_absolute_url()``