Skip to content
Browse files

Fixed a broken link in docs/intro/tutorial01.txt.

  • Loading branch information...
1 parent df075c7 commit ec020cab7ef4b1943a8fe9a4d6872f7e874db707 @timgraham timgraham committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/intro/tutorial01.txt
2  docs/intro/tutorial01.txt
@@ -696,7 +696,7 @@ automatically-generated admin.
:meth:`~django.db.models.Model.__unicode__` and converts the result to a
UTF-8 bytestring. This means that ``unicode(p)`` will return a Unicode
string, and ``str(p)`` will return a bytestring, with characters encoded
- as UTF-8. Python does the opposite: :class:`object` has a ``__unicode__``
+ as UTF-8. Python does the opposite: ``object`` has a ``__unicode__``
method that calls ``__str__`` and interprets the result as an ASCII
bytestring. This difference can create confusion.

0 comments on commit ec020ca

Please sign in to comment.
Something went wrong with that request. Please try again.